Pagini recente » Borderou de evaluare (job #2011606) | Borderou de evaluare (job #1133641) | Borderou de evaluare (job #2369993) | Borderou de evaluare (job #3289076) | Borderou de evaluare (job #1272871)
Borderou de evaluare (job #1272871)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[111000]’ [-Wformat=]
fscanf(f,"%s",&s);
^
user.cpp:26:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c[ s[ii] ]==0){
^
user.cpp:27:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[ s[ii] ]=w[a][ii];
^
user.cpp:29:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(c[ s[ii] ]!=w[a][ii]){
^
user.cpp:9:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&n);
^
user.cpp:11:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s ",w[i]);
^
user.cpp:15:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&m);
^
user.cpp:17:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 284kb | OK | 10 |
✓ | 2 | 0ms | 288kb | OK | 10 |
✓ | 3 | 0ms | 292kb | OK | 10 |
✓ | 4 | Depăşit | 596kb | Time limit exceeded. | 0 |
✓ | 5 | Depăşit | 892kb | Time limit exceeded. | 0 |
✓ | 6 | Depăşit | 888kb | Time limit exceeded. | 0 |
✓ | 7 | Depăşit | 892kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 892kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 888kb | Time limit exceeded. | 0 |
✓ | 10 | Depăşit | 888kb | Time limit exceeded. | 0 |
Punctaj total | 30 |