Pagini recente » Borderou de evaluare (job #1053094) | Borderou de evaluare (job #2546232) | Borderou de evaluare (job #1724858) | Borderou de evaluare (job #2207274) | Borderou de evaluare (job #1484739)
Borderou de evaluare (job #1484739)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:55:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[12]’ [-Wformat=]
scanf("%s\n", &sy);
^
user.cpp: In function ‘void write()’:
user.cpp:69:42: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[12]’ [-Wformat=]
scanf("%s %s %s\n", &sa, &sx, &sy);
^
user.cpp:69:42: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[12]’ [-Wformat=]
user.cpp:69:42: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[12]’ [-Wformat=]
user.cpp: In function ‘void read()’:
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.in", "r", stdin);
^
user.cpp:48:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &b, &p);
^
user.cpp:55:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &sy);
^
user.cpp: In function ‘void write()’:
user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.out", "w", stdout);
^
user.cpp:66:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:69:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s %s\n", &sa, &sx, &sy);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK | 10 | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 20ms | 444kb | Incorect | 0 |
5 | 52ms | 636kb | Incorect | 0 |
6 | 212ms | 1692kb | Incorect | 0 |
7 | 216ms | 1696kb | Incorect | 0 |
8 | 540ms | 3300kb | Incorect | 0 |
9 | 520ms | 3292kb | Incorect | 0 |
10 | 544ms | 3292kb | Incorect | 0 |
Punctaj total | 0 |