Pagini recente » Borderou de evaluare (job #1281857) | Borderou de evaluare (job #1683809) | Borderou de evaluare (job #182429) | Borderou de evaluare (job #164937) | Borderou de evaluare (job #1869300)
Borderou de evaluare (job #1869300)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld", &x);
^
user.cpp:31: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:32: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:33:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:35: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:38:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &x);
^
user.cpp: In function ‘int bs(int, int)’:
user.cpp:28:10: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 14972kb | Time limit exceeded. | 0 | 0 |
2 | 320ms | 7840kb | Te-am blatuit! | 0 |
Punctaj total | 0 |