Pagini recente » Borderou de evaluare (job #749143) | Borderou de evaluare (job #2121899) | Borderou de evaluare (job #1346032) | Borderou de evaluare (job #1668462) | Borderou de evaluare (job #1609322)
Borderou de evaluare (job #1609322)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%d%d%d",&K,&n,&p);
^
user.cpp:21:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:21:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:24:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%d%d",&d[i],&c[i]);
^
user.cpp:24:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:31:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%d%d",&x,&y);
^
user.cpp:31:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:50:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[now.nod].size();++i)
^
user.cpp:21:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&K,&n,&p);
^
user.cpp:24:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&d[i],&c[i]);
^
user.cpp:31:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 8ms | 268kb | Incorect | 0 |
| 4 | 0ms | 272kb | Incorect | 0 |
| 5 | 8ms | 264kb | OK | 10 |
| 6 | 0ms | 268kb | Incorect | 0 |
| 7 | 0ms | 272kb | Incorect | 0 |
| 8 | 0ms | 264kb | Incorect | 0 |
| 9 | 0ms | 272kb | Incorect | 0 |
| 10 | 12ms | 272kb | Incorect | 0 |
| Punctaj total | 20 |