Pagini recente » Borderou de evaluare (job #1776200) | Borderou de evaluare (job #127314) | Borderou de evaluare (job #2671297) | Borderou de evaluare (job #1554041) | Borderou de evaluare (job #1645648)
Borderou de evaluare (job #1645648)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:97:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[257]’ [-Wformat=]
scanf("%s\n", &a);
^
user.cpp:98:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[257]’ [-Wformat=]
scanf("%s\n", &b);
^
user.cpp:92:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in", "r", stdin);
^
user.cpp:93:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out", "w", stdout);
^
user.cpp:94:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:97:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &a);
^
user.cpp:98:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 12ms | 256kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 260kb | OK | 10 |
| 8 | 0ms | 260kb | OK | 10 |
| 9 | 0ms | 260kb | OK | 10 |
| 10 | 0ms | 256kb | OK | 10 |
| Punctaj total | 100 |