Pagini recente » Borderou de evaluare (job #845969) | Borderou de evaluare (job #218756) | Borderou de evaluare (job #1981580) | Borderou de evaluare (job #338211) | Borderou de evaluare (job #2197471)
Borderou de evaluare (job #2197471)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &ok);
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bani.in", "r", stdin);
^
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bani.out", "w", stdout);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &g);
^
user.cpp:28:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &p, &w);
^
user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ok);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 1344kb | Raspuns gresit | 0 |
Punctaj total | 0 |