Pagini recente » Borderou de evaluare (job #682585) | Borderou de evaluare (job #1075172) | Borderou de evaluare (job #1866270) | Borderou de evaluare (job #1751541) | Borderou de evaluare (job #1986102)
Borderou de evaluare (job #1986102)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:167:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=]
if(ok) printf("%d\n", ans);
^
user.cpp:114:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("queries.in", "r", stdin);
^
user.cpp:115:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("queries.out", "w", stdout);
^
user.cpp:121:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:123:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:124:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i) scanf("%d", v + i);
^
user.cpp:144:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 13436kb | Time limit exceeded. | 0 |
Punctaj total | 0 |