Pagini recente » Borderou de evaluare (job #1966905) | Borderou de evaluare (job #2920043) | Borderou de evaluare (job #2089651) | Borderou de evaluare (job #2470000) | Borderou de evaluare (job #2450981)
Borderou de evaluare (job #2450981)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:41:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=1; j<=n; ++j) numb[j]=i; numb[0]=n;
^~~
main.cpp:41:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(j=1; j<=n; ++j) numb[j]=i; numb[0]=n;
^~~~
main.cpp: In function 'void read()':
main.cpp:25:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sumall.in", "r", stdin);
^
main.cpp:27:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
main.cpp:31:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
main.cpp: In function 'void write()':
main.cpp:48:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sumall.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 2ms | 131kb | OK | 5 |
| 9 | 2ms | 131kb | OK | 5 |
| 10 | 2ms | 131kb | OK | 5 |
| 11 | 2ms | 131kb | OK | 5 |
| 12 | 2ms | 131kb | Incorect | 0 |
| 13 | 2ms | 131kb | Incorect | 0 |
| 14 | 2ms | 131kb | OK | 5 |
| 15 | 2ms | 131kb | Incorect | 0 |
| 16 | 2ms | 131kb | OK | 5 |
| 17 | 2ms | 131kb | Incorect | 0 |
| 18 | 2ms | 131kb | Incorect | 0 |
| 19 | 2ms | 131kb | OK | 5 |
| 20 | 2ms | 131kb | OK | 5 |
| Punctaj total | 75 |