Pagini recente » Borderou de evaluare (job #3261019) | Borderou de evaluare (job #3290853) | Borderou de evaluare (job #1455116) | Borderou de evaluare (job #1590530) | Borderou de evaluare (job #1986377)
Borderou de evaluare (job #1986377)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:178: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:125: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:126: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:132: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:134: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:135: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:153: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 | 13424kb | Time limit exceeded. | 0 |
Punctaj total | 0 |