Pagini recente » Borderou de evaluare (job #1493019) | Borderou de evaluare (job #2356433) | Borderou de evaluare (job #2584092) | Borderou de evaluare (job #3270428) | Borderou de evaluare (job #1458433)
Borderou de evaluare (job #1458433)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permsort2.in", "r", stdin);
^
user.cpp:16:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permsort2.out", "w", stdout);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v + i);
^
user.cpp:34:35: warning: ‘nPos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
reverse(v + 1, v + nPos + 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 304kb | OK | 10 |
| 2 | 24ms | 1000kb | OK | 10 |
| 3 | 40ms | 1464kb | OK | 10 |
| 4 | 44ms | 1468kb | OK | 10 |
| 5 | 36ms | 1464kb | OK | 10 |
| 6 | 40ms | 1464kb | OK | 10 |
| 7 | 80ms | 2620kb | OK | 10 |
| 8 | 80ms | 2624kb | OK | 10 |
| 9 | 84ms | 2624kb | OK | 10 |
| 10 | 0ms | 308kb | OK | 10 |
| Punctaj total | 100 |