Pagini recente » Borderou de evaluare (job #444803) | Borderou de evaluare (job #3208946) | Borderou de evaluare (job #321251) | Borderou de evaluare (job #504021) | Borderou de evaluare (job #1597369)
Borderou de evaluare (job #1597369)
Raport evaluator
Compilare:
user.cpp: In function ‘int readint()’:
user.cpp:71:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (!('0' <= buffer[bpos] && buffer[bpos] <= '9'))
^
user.cpp:71:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (!('0' <= buffer[bpos] && buffer[bpos] <= '9'))
^
user.cpp:77:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while ('0' <= buffer[bpos] && buffer[bpos] <= '9')
^
user.cpp:77:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while ('0' <= buffer[bpos] && buffer[bpos] <= '9')
^
user.cpp:79:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x = 10 * x + buffer[bpos] - '0';
^
user.cpp:74:61: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if (bpos == bsize) fread(buffer , 1 , bsize , stdin);
^
user.cpp:81:61: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if (bpos == bsize) fread(buffer , 1 , bsize , stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:89:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("struti.in" , "r" , stdin);
^
user.cpp:90:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("struti.out" , "w" , stdout);
^
user.cpp:92:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer , 1 , bsize , stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 752kb | Incorect | 0 |
2 | 20ms | 1652kb | Incorect | 0 |
3 | 48ms | 2960kb | Incorect | 0 |
4 | 444ms | 7052kb | Incorect | 0 |
5 | 424ms | 9720kb | Incorect | 0 |
6 | 1836ms | 13276kb | Incorect | 0 |
7 | 24ms | 5340kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 472ms | 4852kb | Incorect | 0 |
9 | 560ms | 9780kb | Incorect | 0 |
10 | 744ms | 13268kb | Incorect | 0 |
Punctaj total | 0 |