Pagini recente » Borderou de evaluare (job #1803059) | Borderou de evaluare (job #792090) | Borderou de evaluare (job #2199334) | Borderou de evaluare (job #3173841) | Borderou de evaluare (job #1707353)
Borderou de evaluare (job #1707353)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for( i = 1; i <= n; ++i ) scanf("%d",&v[i]);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.in","r",stdin);
^
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:20:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 24ms | 1332kb | OK | 10 |
5 | 28ms | 1504kb | OK | 10 |
6 | 32ms | 1732kb | OK | 10 |
7 | 52ms | 2432kb | OK | 10 |
8 | 56ms | 2500kb | OK | 10 |
9 | 56ms | 2572kb | OK | 10 |
10 | 60ms | 2600kb | OK | 10 |
Punctaj total | 100 |