Pagini recente » Borderou de evaluare (job #2713026) | Borderou de evaluare (job #850744) | Borderou de evaluare (job #1993034) | Borderou de evaluare (job #3133588) | Borderou de evaluare (job #2301216)
Borderou de evaluare (job #2301216)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (long long int i = n; i >= n - x; i--)
^~~
main.cpp:26:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.in", "r", stdin);
^
main.cpp:12:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.out", "w", stdout);
^
main.cpp:14:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 3ms | 131kb | OK! | 10 |
6 | 5ms | 131kb | OK! | 10 |
7 | 7ms | 262kb | OK! | 10 |
8 | 13ms | 262kb | OK! | 10 |
9 | 23ms | 524kb | OK! | 10 |
10 | 34ms | 655kb | OK! | 10 |
Punctaj total | 100 |