Borderou de evaluare (job #2414903)

Utilizator traiandobrinDobrin Traian traiandobrin Data 25 aprilie 2019 11:49:55
Problema Plaja2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 45

Raport evaluator

Compilare: main.cpp: In function 'long long int ad(long long int, long long int, long long int)': main.cpp:15:9: warning: unused variable 'p' [-Wunused-variable] int p=dif*t,c=dif,ca; ca=a; ^ main.cpp:15:17: warning: unused variable 'c' [-Wunused-variable] int p=dif*t,c=dif,ca; ca=a; ^ main.cpp: At global scope: main.cpp:29:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^ main.cpp: In function 'int main()': main.cpp:37:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x[k]<n) ^~ main.cpp:39:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(x[1]>1) ^~ main.cpp:31:22: warning: unused variable 'j' [-Wunused-variable] int n,k,i,maxx=0,j; ^ main.cpp: In function 'long long int ad(long long int, long long int, long long int)': main.cpp:27:16: warning: 'rasp' may be used uninitialized in this function [-Wmaybe-uninitialized] return rasp*t+a; ~~~~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbIncorect0
23ms131kbIncorect0
33ms131kbIncorect0
43ms131kbIncorect0
53ms131kbIncorect0
63ms131kbIncorect0
73ms131kbIncorect0
83ms131kbOK5
93ms131kbIncorect0
103ms131kbIncorect0
1112ms393kbOK5
1211ms393kbIncorect0
1311ms393kbOK5
144ms131kbOK5
154ms131kbOK5
164ms131kbOK5
1769ms1441kbOK5
1869ms1703kbOK5
1968ms1441kbOK5
203ms131kbIncorect0
Punctaj total45

Ceva nu functioneaza?