Pagini recente » Borderou de evaluare (job #2402094) | Borderou de evaluare (job #3139496) | Borderou de evaluare (job #3191061) | Borderou de evaluare (job #110236) | Borderou de evaluare (job #1445436)
Borderou de evaluare (job #1445436)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &n, &w);
^
user.cpp:26:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.in", "r", stdin);
^
user.cpp:27:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.out", "w", stdout);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:31:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &w);
^
user.cpp:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2940ms | 22252kb | Te-am blatuit! | 0 |
Punctaj total | 0 |