Pagini recente » Borderou de evaluare (job #717405) | Borderou de evaluare (job #473084) | Borderou de evaluare (job #876790) | Borderou de evaluare (job #1685938) | Borderou de evaluare (job #2450290)
Borderou de evaluare (job #2450290)
Raport evaluator
Compilare:
main.cpp: In function 'void bkt(int)':
main.cpp:42:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1; j<=n; ++j) check[j]=false; cnt.clear(); v=-1;
^~~
main.cpp:42:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int j=1; j<=n; ++j) check[j]=false; cnt.clear(); v=-1;
^~~
main.cpp: In function 'int main()':
main.cpp:18:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("avd.in", "r", stdin);
^
main.cpp:19:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("avd.out", "w", stdout);
^
main.cpp:20:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:22:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); tot=dv=0;
^
main.cpp:28:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 13ms | 131kb | OK | 10 |
3 | 41ms | 131kb | OK | 10 |
4 | 184ms | 262kb | OK | 10 |
5 | 198ms | 131kb | OK | 10 |
6 | 173ms | 131kb | OK | 10 |
7 | 108ms | 131kb | OK | 10 |
8 | 8ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 5ms | 131kb | OK | 10 |
Punctaj total | 100 |