Pagini recente » Borderou de evaluare (job #1487434) | Borderou de evaluare (job #634222) | Borderou de evaluare (job #1083395) | Borderou de evaluare (job #3288477) | Borderou de evaluare (job #1584388)
Borderou de evaluare (job #1584388)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%d%d%d",&n,&p,&k);
^
user.cpp:22:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:22:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:24:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d %d",&x, &y);
^
user.cpp:24:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d %d",&x, &y);
^
user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:22:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&n,&p,&k);
^
user.cpp:24:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d",&x, &y);
^
user.cpp:32:36: 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 | 288kb | Incorect | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | 8ms | 284kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 8ms | 288kb | OK | 10 |
6 | 0ms | 284kb | Incorect | 0 |
7 | 0ms | 284kb | Incorect | 0 |
8 | 0ms | 284kb | Incorect | 0 |
9 | 0ms | 284kb | Incorect | 0 |
10 | 12ms | 284kb | Incorect | 0 |
Punctaj total | 20 |