Pagini recente » Borderou de evaluare (job #392495) | Borderou de evaluare (job #131803) | Borderou de evaluare (job #1710498) | Borderou de evaluare (job #2592823) | Borderou de evaluare (job #1242272)
Borderou de evaluare (job #1242272)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:24: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 1; s[i] != NULL; ++ i) {
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.in", "r", stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.out", "w", stdout);
^
user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", aux + 1);
^
user.cpp:38:18: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(d[pos - (i - pos)] + i >= right) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 356kb | OK | 10 |
2 | 0ms | 472kb | OK | 10 |
3 | 0ms | 580kb | OK | 10 |
4 | 44ms | 10992kb | OK | 10 |
5 | 8ms | 2400kb | OK | 10 |
6 | 16ms | 4548kb | OK | 10 |
7 | 24ms | 5624kb | OK | 10 |
8 | 36ms | 8312kb | OK | 10 |
9 | 40ms | 9924kb | OK | 10 |
10 | 44ms | 10988kb | OK | 10 |
Punctaj total | 100 |