Pagini recente » Borderou de evaluare (job #2279962) | Borderou de evaluare (job #3153934) | Borderou de evaluare (job #1883817) | Borderou de evaluare (job #2417165) | Borderou de evaluare (job #1445311)
Borderou de evaluare (job #1445311)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d\n", &t);
^
user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("staropramen.in", "r", stdin);
^
user.cpp:10:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("staropramen.out", "w", stdout);
^
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:20:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%c", &c1, &c2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 380ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 0 |