Pagini recente » Borderou de evaluare (job #2922318) | Borderou de evaluare (job #2617465) | Borderou de evaluare (job #1290091) | Borderou de evaluare (job #1256833) | Borderou de evaluare (job #1784955)
Borderou de evaluare (job #1784955)
Raport evaluator
Compilare:
user.cpp: In function ‘int src(int)’:
user.cpp:24:14: warning: statement has no effect [-Wunused-value]
for (step; step; step >>= 1)
^
user.cpp:25:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to + step <= n && p[to+step].val <= val)
^
user.cpp: In function ‘int main()’:
user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("psir.in", "r", stdin);
^
user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("psir.out", "w", stdout);
^
user.cpp:58:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 492kb | OK | 10 |
2 | 0ms | 760kb | OK | 10 |
3 | 0ms | 1120kb | OK | 10 |
4 | 28ms | 3852kb | OK | 10 |
5 | 56ms | 6404kb | OK | 10 |
6 | 60ms | 6592kb | OK | 10 |
7 | 220ms | 13608kb | OK | 10 |
8 | 236ms | 14312kb | OK | 10 |
9 | 164ms | 11740kb | OK | 10 |
10 | 244ms | 14420kb | OK | 10 |
Punctaj total | 100 |