Pagini recente » Borderou de evaluare (job #258517) | Borderou de evaluare (job #607211) | Borderou de evaluare (job #2938581) | Borderou de evaluare (job #2955866) | Borderou de evaluare (job #602910)
Borderou de evaluare (job #602910)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d", &C[i]);
^
user.cpp:33:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre2.in","r",stdin);
^
user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre2.out","w",stdout);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &k);
^
user.cpp:38:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &C[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | OK | 10 |
| 2 | 0ms | 316kb | OK | 10 |
| 3 | 0ms | 284kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 640kb | OK | 10 |
| 6 | 0ms | 484kb | OK | 10 |
| 7 | 0ms | 676kb | OK | 10 |
| 8 | 28ms | 568kb | OK | 10 |
| 9 | 28ms | 548kb | OK | 10 |
| 10 | 24ms | 548kb | OK | 10 |
| Punctaj total | 100 |