Pagini recente » Borderou de evaluare (job #313056) | Borderou de evaluare (job #3216460) | Borderou de evaluare (job #1282525) | Borderou de evaluare (job #213843) | Borderou de evaluare (job #1435330)
Borderou de evaluare (job #1435330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sprim.in", "r", stdin);
^
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sprim.out", "w", stdout);
^
user.cpp:54:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.cpp:58:88: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
P[i] = fact(chr[i], i), S[i] = max(S[i-1], P[i] + 1), Sum += (i - S[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 12ms | 4036kb | OK | 10 |
5 | 56ms | 4516kb | OK | 10 |
6 | 56ms | 4520kb | OK | 10 |
7 | 72ms | 4628kb | OK | 10 |
8 | 176ms | 5328kb | OK | 10 |
9 | 180ms | 5328kb | OK | 10 |
10 | 180ms | 5324kb | OK | 10 |
Punctaj total | 100 |