Borderou de evaluare (job #2395729)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 2 aprilie 2019 20:21:48
Problema Parcele1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int mod(int, int)': main.cpp:9:22: warning: unused variable 'j' [-Wunused-variable] int sume[1005],i,j; ^ main.cpp:14:9: warning: variable 'l' set but not used [-Wunused-but-set-variable] int l=0; ^ main.cpp: In function 'void dfs(int)': main.cpp:43:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(st[k-1]==m)return ;st[k]=m; ^~ main.cpp:43:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(st[k-1]==m)return ;st[k]=m; ^~ main.cpp: In function 'int main()': main.cpp:65:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("parcele1.in","r",stdin); ^ main.cpp:66:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("parcele1.out","w",stdout); ^ main.cpp:68:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&m,&n,&k); ^ main.cpp:71:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
43ms131kbOK5
52ms131kbOK5
611ms131kbOK5
711ms131kbOK5
810ms131kbOK5
93ms131kbOK5
102ms131kbOK5
112ms131kbOK5
122ms131kbOK5
132ms131kbOK5
142ms131kbOK5
152ms131kbOK5
162ms131kbOK5
172ms131kbOK5
182ms131kbOK5
192ms131kbOK5
202ms131kbOK5
Punctaj total100

Ceva nu functioneaza?