Pagini recente » Borderou de evaluare (job #1181960) | Borderou de evaluare (job #2895170) | Borderou de evaluare (job #1025135) | Borderou de evaluare (job #1629720) | Borderou de evaluare (job #2108248)
Borderou de evaluare (job #2108248)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curatenie.in","r",stdin);
^
user.cpp:18:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curatenie.out","w",stdout);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x); poz[x]=i;
^
user.cpp:23:44: 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", &rsd[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 8ms | 440kb | OK | 10 |
5 | 48ms | 1056kb | OK | 10 |
6 | 92ms | 1844kb | OK | 10 |
7 | 200ms | 3400kb | OK | 10 |
8 | 248ms | 4184kb | OK | 10 |
9 | 520ms | 8076kb | OK | 10 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 100 |