Pagini recente » Borderou de evaluare (job #1818217) | Borderou de evaluare (job #1375786) | Borderou de evaluare (job #1875553) | Borderou de evaluare (job #1219851) | Borderou de evaluare (job #2544181)
Borderou de evaluare (job #2544181)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=2; j<i; j++)
^~~
main.cpp:18:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(comb[i][j]>=r)
^~
main.cpp:7:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("kmax.in", "r", stdin);
^
main.cpp:8:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("kmax.out", "w", stdout);
^
main.cpp:10:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &k, &r);
^
main.cpp:18:25: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(comb[i][j]>=r)
~~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 4ms | 262kb | Incorect | 0 |
3 | 17ms | 393kb | Incorect | 0 |
4 | 24ms | 393kb | Incorect | 0 |
5 | 118ms | 524kb | Incorect | 0 |
6 | 600ms | 786kb | Time limit exceeded | 0 |
7 | 603ms | 786kb | Time limit exceeded | 0 |
8 | 600ms | 917kb | Time limit exceeded | 0 |
9 | 600ms | 786kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 20 |