Pagini recente » Borderou de evaluare (job #1315157) | Borderou de evaluare (job #332213) | Borderou de evaluare (job #2244973) | Borderou de evaluare (job #1558193) | Borderou de evaluare (job #1584386)
Borderou de evaluare (job #1584386)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23: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:23:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:23:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:25: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:25:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:33: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:33:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:23: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:25: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:33: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 | 444kb | Incorect | 0 |
2 | 0ms | 440kb | OK | 10 |
3 | 8ms | 440kb | Incorect | 0 |
4 | 0ms | 440kb | Incorect | 0 |
5 | 8ms | 440kb | OK | 10 |
6 | 0ms | 444kb | Incorect | 0 |
7 | 0ms | 444kb | Incorect | 0 |
8 | 0ms | 444kb | Incorect | 0 |
9 | 0ms | 444kb | Incorect | 0 |
10 | 8ms | 444kb | Incorect | 0 |
Punctaj total | 20 |