Pagini recente » Borderou de evaluare (job #3196380) | Borderou de evaluare (job #1913543) | Borderou de evaluare (job #1967430) | Borderou de evaluare (job #2584609) | Borderou de evaluare (job #2626385)
Borderou de evaluare (job #2626385)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:45:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (a[i1]+a[j1]+a[k1]==b[i])
^~
main.cpp:47:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
for (i1=1;i1<=n;i1++)
^~~
main.cpp:28:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("loto.in","r",stdin);
^
main.cpp:29:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("loto.out","w",stdout);
^
main.cpp:30:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&s);
^
main.cpp:32:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK! | 5 | 5 |
2 | 2ms | 131kb | OK! | 5 | 5 |
3 | 2ms | 131kb | OK! | 5 | 15 |
4 | 2ms | 131kb | OK! | 5 |
5 | 42ms | 1441kb | OK! | 5 |
6 | 22ms | 1441kb | OK! | 5 | 15 |
7 | 3ms | 131kb | OK! | 5 |
8 | 4ms | 131kb | OK! | 5 |
9 | 45ms | 1441kb | OK! | 5 | 15 |
10 | 5ms | 262kb | OK! | 5 |
11 | 6ms | 262kb | OK! | 5 |
12 | 7ms | 393kb | OK! | 5 | 5 |
13 | 12ms | 524kb | OK! | 5 | 5 |
14 | 12ms | 524kb | OK! | 5 | 5 |
15 | 17ms | 655kb | OK! | 5 | 5 |
16 | 28ms | 917kb | OK! | 5 | 5 |
17 | 29ms | 1048kb | OK! | 5 | 5 |
18 | 49ms | 1310kb | OK! | 5 | 5 |
19 | 34ms | 1441kb | OK! | 5 | 5 |
20 | 34ms | 1441kb | OK! | 5 | 5 |
Punctaj total | 100 |