Pagini recente » Borderou de evaluare (job #2149377) | Borderou de evaluare (job #1876307) | Borderou de evaluare (job #824677) | Borderou de evaluare (job #953637) | Borderou de evaluare (job #2217201)
Borderou de evaluare (job #2217201)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31: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:32: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:33: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:34: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 | 936kb | OK | 10 | 30 |
| 2 | 0ms | 856kb | OK | 10 |
| 3 | 0ms | 800kb | OK | 10 |
| 4 | 92ms | 752kb | OK | 10 | 0 |
| 5 | 0ms | 872kb | OK | 10 |
| 6 | 0ms | 872kb | OK | 10 |
| 7 | 0ms | 756kb | OK | 10 |
| 8 | 0ms | 796kb | OK | 10 |
| 9 | 0ms | 876kb | OK | 10 |
| 10 | 0ms | 864kb | Incorect | 0 |
| Punctaj total | 30 |