Pagini recente » Borderou de evaluare (job #518224) | Borderou de evaluare (job #1517629) | Cod sursa (job #335359) | Borderou de evaluare (job #2828881) | Borderou de evaluare (job #1388225)
Borderou de evaluare (job #1388225)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:27:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:29:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("purice2.in","r",stdin);
^
user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("purice2.out","w",stdout);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:29:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | Incorect | 0 |
| 2 | 0ms | 252kb | Incorect | 0 |
| 3 | 0ms | 248kb | Incorect | 0 |
| 4 | 24ms | 332kb | Incorect | 0 |
| 5 | 116ms | 588kb | OK | 10 |
| 6 | 288ms | 1024kb | OK | 10 |
| 7 | 284ms | 1020kb | OK | 10 |
| 8 | 284ms | 1000kb | OK | 10 |
| 9 | 268ms | 1032kb | Wall time limit exceeded. | 0 |
| 10 | 272ms | 1028kb | Wall time limit exceeded. | 0 |
| Punctaj total | 40 |