Pagini recente » Borderou de evaluare (job #1759353) | Borderou de evaluare (job #3005804) | Borderou de evaluare (job #943723) | Borderou de evaluare (job #516537) | Borderou de evaluare (job #1484743)
Borderou de evaluare (job #1484743)
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:70: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:70:42: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[12]’ [-Wformat=]
user.cpp:70: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:66: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:67:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:70: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 | 288kb | OK | 10 |
| 3 | 0ms | 296kb | OK | 10 |
| 4 | 20ms | 448kb | OK | 10 |
| 5 | 52ms | 640kb | OK | 10 |
| 6 | 264ms | 1700kb | OK | 10 |
| 7 | 256ms | 1692kb | Incorect | 0 |
| 8 | Depăşit | 3296kb | Time limit exceeded. | 0 |
| 9 | 692ms | 3300kb | OK | 10 |
| 10 | 700ms | 3296kb | Incorect | 0 |
| Punctaj total | 0 |