Pagini recente » Borderou de evaluare (job #2610557) | Borderou de evaluare (job #236662) | Borderou de evaluare (job #829395) | Borderou de evaluare (job #2728662) | Borderou de evaluare (job #1869303)
Borderou de evaluare (job #1869303)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld", &x);
^
user.cpp:33:38: 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:34:40: 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:35:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &w);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3296ms | 14972kb | Te-am blatuit! | 0 | 0 |
2 | 304ms | 7832kb | Te-am blatuit! | 0 |
Punctaj total | 0 |