Pagini recente » Borderou de evaluare (job #3129722) | Borderou de evaluare (job #1386793) | Borderou de evaluare (job #2106164) | Borderou de evaluare (job #255062) | Borderou de evaluare (job #2217224)
Borderou de evaluare (job #2217224)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suman.in", "r", stdin);
^
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suman.out", "w", stdout);
^
user.cpp:34:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &N, &K);
^
user.cpp:35:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=K; i++){scanf("%lld", &List[i]); if(List[i]==1){printf("%lld", 1LL*N*(N+1)/2); return 0;}}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 756kb | OK | 10 | 30 |
| 2 | 0ms | 868kb | OK | 10 |
| 3 | 0ms | 868kb | OK | 10 |
| 4 | 92ms | 860kb | OK | 10 | 0 |
| 5 | 0ms | 756kb | OK | 10 |
| 6 | 0ms | 756kb | OK | 10 |
| 7 | 0ms | 804kb | OK | 10 |
| 8 | 0ms | 756kb | OK | 10 |
| 9 | 0ms | 860kb | OK | 10 |
| 10 | 0ms | 800kb | Incorect | 0 |
| Punctaj total | 30 |