Pagini recente » Borderou de evaluare (job #2898315) | Borderou de evaluare (job #859417) | Borderou de evaluare (job #1657096) | Borderou de evaluare (job #2849412) | Borderou de evaluare (job #1242267)
Borderou de evaluare (job #1242267)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:24: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 1; s[i] != NULL; ++ i) {
^
user.cpp:11: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:12: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:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", aux + 1);
^
user.cpp:36: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 | 368kb | OK | 10 |
2 | 0ms | 476kb | OK | 10 |
3 | 0ms | 580kb | OK | 10 |
4 | 40ms | 7088kb | Incorect | 0 |
5 | 8ms | 2404kb | OK | 10 |
6 | 16ms | 4560kb | OK | 10 |
7 | 24ms | 5620kb | OK | 10 |
8 | 32ms | 6600kb | OK | 10 |
9 | 36ms | 6888kb | Incorect | 0 |
10 | 40ms | 7080kb | Incorect | 0 |
Punctaj total | 70 |