Pagini recente » Borderou de evaluare (job #1251705) | Borderou de evaluare (job #1325362) | Borderou de evaluare (job #2126415) | Borderou de evaluare (job #357896) | Borderou de evaluare (job #1478666)
Borderou de evaluare (job #1478666)
Raport evaluator
Compilare:
user.cpp: In function ‘int citeste()’:
user.cpp:19:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!('0'<=buff[pos]&&buff[pos]<='9')) add();
^
user.cpp:19:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!('0'<=buff[pos]&&buff[pos]<='9')) add();
^
user.cpp:20:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while('0'<=buff[pos]&&buff[pos]<='9')
^
user.cpp:20:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while('0'<=buff[pos]&&buff[pos]<='9')
^
user.cpp:23:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr+=buff[pos]-'0';
^
user.cpp: In function ‘void readtill(int)’:
user.cpp:36:6: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
int tmp;
^
user.cpp: In function ‘void add()’:
user.cpp:13:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,fin);
^
user.cpp: In function ‘void readtill(int)’:
user.cpp:33:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,fin);
^
user.cpp: In function ‘int main()’:
user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("avarcolaci.out","w",stdout);
^
user.cpp:47:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | OK | 10 |
2 | Depăşit | 208kb | Time limit exceeded. | 0 |
3 | 2388ms | 216kb | Incorect | 0 |
4 | 8ms | 224kb | Incorect | 0 |
5 | 84ms | 220kb | Incorect | 0 |
6 | 32ms | 220kb | Incorect | 0 |
7 | 56ms | 220kb | Incorect | 0 |
8 | Depăşit | 212kb | Time limit exceeded. | 0 |
9 | 332ms | 220kb | Incorect | 0 |
10 | Depăşit | 220kb | Time limit exceeded. | 0 |
Punctaj total | 10 |