Pagini recente » Borderou de evaluare (job #2244730) | Borderou de evaluare (job #287460) | Borderou de evaluare (job #1758577) | Borderou de evaluare (job #2504641) | Borderou de evaluare (job #2395628)
Borderou de evaluare (job #2395628)
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:42:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(st[k-1]==m)return ;st[k]=m;
^~
main.cpp:42: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:64: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:65: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:67: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:70: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 |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 4ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 101ms | 131kb | Time limit exceeded | 0 |
| 7 | 84ms | 131kb | OK | 5 |
| 8 | 101ms | 131kb | Time limit exceeded | 0 |
| 9 | 18ms | 131kb | OK | 5 |
| 10 | 2ms | 131kb | OK | 5 |
| 11 | 2ms | 131kb | OK | 5 |
| 12 | 2ms | 131kb | OK | 5 |
| 13 | 2ms | 131kb | OK | 5 |
| 14 | 2ms | 131kb | OK | 5 |
| 15 | 2ms | 131kb | OK | 5 |
| 16 | 2ms | 131kb | OK | 5 |
| 17 | 2ms | 131kb | OK | 5 |
| 18 | 2ms | 131kb | OK | 5 |
| 19 | 2ms | 131kb | OK | 5 |
| 20 | 2ms | 131kb | OK | 5 |
| Punctaj total | 90 |