Pagini recente » Borderou de evaluare (job #1306451) | Borderou de evaluare (job #433687) | Borderou de evaluare (job #1810869) | Borderou de evaluare (job #856044) | Borderou de evaluare (job #1892528)
Borderou de evaluare (job #1892528)
Raport evaluator
Compilare:
user.cpp: In function ‘void get_jump_letter()’:
user.cpp:23:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
jump_letter[len][text[len]] = len;
^
user.cpp: In function ‘void process_word()’:
user.cpp:36:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
j = jump_letter[j][word[k]] + 1;
^
user.cpp: In function ‘int main()’:
user.cpp:56:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(text + 1, LMAX, fin);
^
user.cpp:57:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d\n", &n);
^
user.cpp:64:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(word + 1, LMAX, fin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:56:31:
/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);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:64:35:
/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 | 476kb | OK | 10 |
2 | Depăşit | 484kb | Time limit exceeded. | 0 |
3 | Depăşit | 588kb | Time limit exceeded. | 0 |
4 | Depăşit | 740kb | Time limit exceeded. | 0 |
5 | Depăşit | 780kb | Time limit exceeded. | 0 |
6 | 40ms | 852kb | OK | 10 |
7 | Depăşit | 932kb | Time limit exceeded. | 0 |
8 | Depăşit | 932kb | Time limit exceeded. | 0 |
9 | Depăşit | 936kb | Time limit exceeded. | 0 |
10 | Depăşit | 932kb | Time limit exceeded. | 0 |
Punctaj total | 20 |