Pagini recente » Borderou de evaluare (job #112337) | Borderou de evaluare (job #2505973) | Borderou de evaluare (job #2602268) | Borderou de evaluare (job #492978) | Borderou de evaluare (job #2549798)
Borderou de evaluare (job #2549798)
Raport evaluator
Compilare:
main.cpp: In function 'long long int solve(std::vector<int>&, int)':
main.cpp:70:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < arr.size(); ++i)
~~^~~~~~~~~~~~
main.cpp:79:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < arr.size(); ++i) {
~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:100:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("yamstp.in", "r", stdin);
^
main.cpp:101:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("yamstp.out", "w", stdout);
^
main.cpp:104:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int tst; scanf("%d", &tst);
^
main.cpp:107:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:111:22: 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 |
Punctaj/grupa |
1 | 120ms | 262kb | OK | 20 | 0 |
2 | 404ms | 1007kb | OK | 20 |
3 | 572ms | 393kb | OK | 20 |
4 | 713ms | 995kb | OK | 20 |
5 | 1000ms | 1671kb | Time limit exceeded | 0 |
Punctaj total | 0 |