Pagini recente » Borderou de evaluare (job #3132591) | Borderou de evaluare (job #2438280) | Borderou de evaluare (job #3004622) | Borderou de evaluare (job #2442147) | Borderou de evaluare (job #2549041)
Borderou de evaluare (job #2549041)
Raport evaluator
Compilare:
main.cpp: In function 'int aduna_perm(int)':
main.cpp:18:18: warning: statement has no effect [-Wunused-value]
for(i; i<=n; i++)
^
main.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:64:18: warning: statement has no effect [-Wunused-value]
for(k; k>=1; k--)
^
main.cpp:49:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare4.in", "r", stdin);
^
main.cpp:50:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare4.out", "w", stdout);
^
main.cpp:60:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:73:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:75:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s[i]);
^
main.cpp:94:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 42ms | 131kb | OK | 10 |
2 | 1468ms | 1048kb | OK | 10 |
3 | 1500ms | 131kb | Time limit exceeded | 0 |
4 | 1500ms | 131kb | Time limit exceeded | 0 |
5 | 1503ms | 131kb | Time limit exceeded | 0 |
6 | 701ms | 3670kb | OK | 10 |
7 | 1502ms | 131kb | Time limit exceeded | 0 |
8 | 1502ms | 131kb | Time limit exceeded | 0 |
9 | 26ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 50 |