Pagini recente » Borderou de evaluare (job #593658) | Borderou de evaluare (job #188026) | Borderou de evaluare (job #576452) | Borderou de evaluare (job #219157) | Borderou de evaluare (job #1895155)
Borderou de evaluare (job #1895155)
Raport evaluator
Compilare:
user.cpp: In function ‘int rezolva(int)’:
user.cpp:15:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0;j<a[u].size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&N);
^
user.cpp:35:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&val[i]);
^
user.cpp:39:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&x,&y);
^
user.cpp:39:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:33:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&N);
^
user.cpp:35:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&val[i]);
^
user.cpp:39:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 1008kb | Incorect | 0 |
| 2 | 0ms | 636kb | Incorect | 0 |
| 3 | 0ms | 644kb | Incorect | 0 |
| 4 | 0ms | 636kb | Incorect | 0 |
| 5 | 0ms | 636kb | OK | 10 |
| 6 | 0ms | 644kb | OK | 10 |
| 7 | 8ms | 912kb | Incorect | 0 |
| 8 | 16ms | 1000kb | Incorect | 0 |
| 9 | 16ms | 1008kb | Incorect | 0 |
| 10 | 16ms | 1012kb | Incorect | 0 |
| Punctaj total | 20 |