Pagini recente » Borderou de evaluare (job #1459467) | Borderou de evaluare (job #2597561) | Borderou de evaluare (job #1960788) | Borderou de evaluare (job #2783672) | Borderou de evaluare (job #2534713)
Borderou de evaluare (job #2534713)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (j = i + 1; j <= 200; j++)
^~~
main.cpp:17:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (i = x; i <= y; i++) if (v[i] > 1) { printf("%d\n",i); j = 100; }
^~~
main.cpp:7:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("patrat.in","r",stdin);
^
main.cpp:8:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("patrat.out","w",stdout);
^
main.cpp:11:22: 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 | 2ms | 131kb | OK | 10 |
2 | 2ms | 262kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 262kb | OK | 10 |
9 | 3ms | 262kb | OK | 10 |
10 | 3ms | 262kb | OK | 10 |
Punctaj total | 100 |