Pagini recente » Cod sursa (job #69355) | Borderou de evaluare (job #1233610) | Cod sursa (job #2145147) | Cod sursa (job #2913286) | Borderou de evaluare (job #2112621)
Borderou de evaluare (job #2112621)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int getrez(long long int, long long int, bool, char)’:
user.cpp:53:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez += frAfter1Stage[c] << (stage - 2);
^
user.cpp: In function ‘int main()’:
user.cpp:64:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frAfter1Stage[C[i]]++;
^
user.cpp:59:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&N,&Q);
^
user.cpp:60:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(C + 1,100005,f);
^
user.cpp:77:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&pos);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:60:26:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | Partial corect | 4 |
| 2 | 0ms | 260kb | Partial corect | 2 |
| 3 | 0ms | 260kb | Partial corect | 2 |
| 4 | 0ms | 264kb | Partial corect | 2 |
| 5 | 36ms | 264kb | Partial corect | 2 |
| 6 | 40ms | 264kb | Partial corect | 2 |
| 7 | 44ms | 260kb | Partial corect | 2 |
| 8 | 48ms | 260kb | Partial corect | 2 |
| 9 | 0ms | 264kb | Partial corect | 2 |
| 10 | 0ms | 256kb | Partial corect | 2 |
| 11 | 0ms | 264kb | Partial corect | 2 |
| 12 | 0ms | 256kb | Partial corect | 2 |
| 13 | 40ms | 276kb | Partial corect | 2 |
| 14 | 44ms | 296kb | Partial corect | 2 |
| 15 | 48ms | 328kb | Partial corect | 2 |
| 16 | 56ms | 340kb | Partial corect | 2 |
| 17 | 68ms | 352kb | Partial corect | 2 |
| 18 | 76ms | 352kb | Partial corect | 2 |
| 19 | 80ms | 348kb | Partial corect | 2 |
| Punctaj total | 40 |