Pagini recente » Borderou de evaluare (job #1815011) | Borderou de evaluare (job #2382917) | Borderou de evaluare (job #158853) | Borderou de evaluare (job #2585788) | Borderou de evaluare (job #2395626)
Borderou de evaluare (job #2395626)
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 | 3ms | 131kb | OK | 5 |
6 | 100ms | 131kb | Time limit exceeded | 0 |
7 | 100ms | 131kb | Time limit exceeded | 0 |
8 | 84ms | 131kb | OK | 5 |
9 | 14ms | 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 |