Pagini recente » Borderou de evaluare (job #1546639) | Borderou de evaluare (job #2503757) | Borderou de evaluare (job #1872889) | Borderou de evaluare (job #1069637) | Borderou de evaluare (job #1389045)
Borderou de evaluare (job #1389045)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:31:35: 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:32:36: 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:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:31: 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 | 420kb | Incorect | 0 |
| 2 | 0ms | 420kb | Incorect | 0 |
| 3 | 0ms | 420kb | Incorect | 0 |
| 4 | 0ms | 424kb | Incorect | 0 |
| 5 | 8ms | 424kb | OK | 10 |
| 6 | 16ms | 420kb | OK | 10 |
| 7 | 16ms | 416kb | OK | 10 |
| 8 | 16ms | 420kb | OK | 10 |
| 9 | 16ms | 424kb | OK | 10 |
| 10 | 16ms | 416kb | OK | 10 |
| Punctaj total | 60 |