Pagini recente » Borderou de evaluare (job #2770064) | Borderou de evaluare (job #882854) | Borderou de evaluare (job #2953396) | Borderou de evaluare (job #2813727) | Borderou de evaluare (job #1425627)
Borderou de evaluare (job #1425627)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[i].val);
^
user.cpp:40:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.in","r",stdin);
^
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.out","w",stdout);
^
user.cpp:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:48:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 4ms | 460kb | OK | 10 |
3 | 20ms | 756kb | OK | 10 |
4 | 32ms | 1044kb | OK | 10 |
5 | 48ms | 1428kb | OK | 10 |
6 | 56ms | 1628kb | OK | 10 |
7 | 64ms | 1832kb | OK | 10 |
8 | 72ms | 2020kb | OK | 10 |
9 | 84ms | 2216kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 100 |