Pagini recente » Borderou de evaluare (job #1749162) | Borderou de evaluare (job #1990903) | Borderou de evaluare (job #897989) | Cod sursa (job #180012) | Borderou de evaluare (job #1736488)
Borderou de evaluare (job #1736488)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d %d %d %d %d %d %lld", &t0, &t1, &a, &b, &x, &y, &z, &mod, &n);
^
user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=]
user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=]
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rsir.in", "r", stdin);
^
user.cpp:11:82: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d %d %d %lld", &t0, &t1, &a, &b, &x, &y, &z, &mod, &n);
^
user.cpp: In function ‘void write()’:
user.cpp:106:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rsir.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Incorect | 0 |
2 | 0ms | 456kb | Incorect | 0 |
3 | 0ms | 456kb | Incorect | 0 |
4 | 0ms | 456kb | Incorect | 0 |
5 | 0ms | 456kb | Incorect | 0 |
6 | 0ms | 456kb | Incorect | 0 |
7 | 0ms | 472kb | Incorect | 0 |
8 | 0ms | 468kb | Incorect | 0 |
9 | 0ms | 472kb | Incorect | 0 |
10 | 0ms | 468kb | Incorect | 0 |
Punctaj total | 0 |