Pagini recente » Borderou de evaluare (job #1402475) | Cod sursa (job #277635) | Borderou de evaluare (job #1366691) | Borderou de evaluare (job #2571043) | Borderou de evaluare (job #1388222)
Borderou de evaluare (job #1388222)
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 | 256kb | Incorect | 0 |
| 3 | 0ms | 260kb | Incorect | 0 |
| 4 | 24ms | 332kb | Incorect | 0 |
| 5 | 116ms | 592kb | OK | 10 |
| 6 | 292ms | 1028kb | OK | 10 |
| 7 | 288ms | 1028kb | OK | 10 |
| 8 | 284ms | 1004kb | OK | 10 |
| 9 | 272ms | 1036kb | Wall time limit exceeded. | 0 |
| 10 | 276ms | 1032kb | Wall time limit exceeded. | 0 |
| Punctaj total | 40 |