|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 9432
Mesaj evaluator:
smith.cpp: In function `int prim(long int)':
smith.cpp:10: warning: assignment to `long int' from `double'
smith.cpp:10: warning: argument to `long int' from `double'
smith.cpp: In function `int smith(long int)':
smith.cpp:42: warning: assignment to `long int' from `double'
smith.cpp:42: warning: argument to `long int' from `double'
smith.cpp: In function `long int rasturnat(long int)':
smith.cpp:86: warning: unused variable `long int i'
smith.cpp: In function `int main()':
smith.cpp:104: warning: assignment to `long int' from `double'
smith.cpp:104: warning: argument to `long int' from `double'
smith.cpp:143: warning: assignment to `long int' from `double'
smith.cpp:143: warning: argument to `long int' from `double'
smith.cpp:101: warning: unused variable `long int d[101]'
smith.cpp:101: warning: unused variable `long int e[101]'
smith.cpp:154:2: warning: no newline at end of file
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |