Borderou de evaluare (job #2237085)

Utilizator 0738076326Simon Wil 0738076326 Data 31 august 2018 15:58:38
Problema Munte7 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool munte(int, int*)’: user.cpp:12:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(j=1; j<=n; j++) ^~~ user.cpp:16:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if(!v[2]>v[1]) ^~ user.cpp:16:21: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if(!v[2]>v[1]) ^ user.cpp:17:19: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if(!v[n]<v[n-1]) ^ user.cpp:21:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(j=2; j<=pozmax-1; j++) ^~~ user.cpp:26:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ for(j=pozmax+1; j<=n; j++) ^~~ user.cpp: In function ‘int main()’: user.cpp:51:10: warning: statement has no effect [-Wunused-value] for(i; i<=n; i++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1384kbIncorect0
20ms1384kbIncorect0
30ms1384kbIncorect0
40ms1388kbIncorect0
50ms1392kbIncorect0
60ms1392kbIncorect0
70ms1396kbIncorect0
80ms1388kbIncorect0
94ms1448kbIncorect0
108ms1516kbIncorect0
1116ms1580kbIncorect0
1220ms1644kbIncorect0
1324ms1708kbIncorect0
1432ms1772kbIncorect0
1536ms1836kbIncorect0
1640ms1908kbIncorect0
1748ms1972kbIncorect0
1852ms2032kbIncorect0
1956ms2100kbIncorect0
2064ms2164kbIncorect0
Punctaj total0

Ceva nu functioneaza?