Pagini recente » Borderou de evaluare (job #2840155) | Borderou de evaluare (job #731375) | Borderou de evaluare (job #2859491) | Borderou de evaluare (job #2120895) | Borderou de evaluare (job #2111416)
Borderou de evaluare (job #2111416)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
fscanf (fin, "%d%d%d%d%d", &p, &x, &y, &t, &n ) ;
^
user.cpp:30:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf (fout, "%I64d", 1 + 2 * (t * (t-1) ) ) ;
^
user.cpp:20:19: warning: variable ‘jos’ set but not used [-Wunused-but-set-variable]
int n, x, y, i, jos, dr, st, sus, p ;
^
user.cpp:20:24: warning: variable ‘dr’ set but not used [-Wunused-but-set-variable]
int n, x, y, i, jos, dr, st, sus, p ;
^
user.cpp:20:28: warning: variable ‘st’ set but not used [-Wunused-but-set-variable]
int n, x, y, i, jos, dr, st, sus, p ;
^
user.cpp:20:32: warning: variable ‘sus’ set but not used [-Wunused-but-set-variable]
int n, x, y, i, jos, dr, st, sus, p ;
^
user.cpp:23:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d%d%d%d", &p, &x, &y, &t, &n ) ;
^
user.cpp:26:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d", &l[i], &c[i] ) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Incorect | 0 |
2 | 0ms | 448kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 448kb | Incorect | 0 |
5 | 0ms | 408kb | Incorect | 0 |
6 | 0ms | 416kb | Incorect | 0 |
7 | 0ms | 412kb | Incorect | 0 |
8 | 0ms | 416kb | Incorect | 0 |
9 | 0ms | 420kb | Incorect | 0 |
10 | 0ms | 412kb | Incorect | 0 |
11 | 0ms | 412kb | Incorect | 0 |
12 | 0ms | 416kb | Incorect | 0 |
13 | 0ms | 412kb | Incorect | 0 |
14 | 0ms | 412kb | Incorect | 0 |
15 | 0ms | 416kb | Incorect | 0 |
16 | 0ms | 420kb | Incorect | 0 |
17 | 0ms | 416kb | Incorect | 0 |
18 | 0ms | 416kb | Incorect | 0 |
19 | 0ms | 416kb | Incorect | 0 |
20 | 0ms | 404kb | Incorect | 0 |
Punctaj total | 0 |