Pagini recente » Borderou de evaluare (job #3132000) | Borderou de evaluare (job #1674436) | Borderou de evaluare (job #1344285) | Borderou de evaluare (job #2298376) | Borderou de evaluare (job #1280865)
Borderou de evaluare (job #1280865)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",N-pre[N]);
^
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.in","r",stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.out","w",stdout);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&in[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 964kb | OK | 10 |
2 | 48ms | 2604kb | OK | 10 |
3 | 72ms | 6872kb | OK | 10 |
4 | 156ms | 11960kb | OK | 10 |
5 | 20ms | 2144kb | OK | 10 |
6 | 12ms | 1440kb | OK | 10 |
7 | 24ms | 2372kb | OK | 10 |
8 | 0ms | 380kb | OK | 10 |
9 | 0ms | 364kb | OK | 10 |
10 | 0ms | 256kb | OK | 10 |
Punctaj total | 100 |