Pagini recente » Borderou de evaluare (job #1011169) | Cod sursa (job #182736) | Borderou de evaluare (job #1299931) | Borderou de evaluare (job #1169768) | Borderou de evaluare (job #2621834)
Borderou de evaluare (job #2621834)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51:37: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld %lld\n",i,i+n-(i-1)*i/2);
^
main.cpp:41:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nambartiori.in","r",stdin);
^
main.cpp:42:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nambartiori.out","w",stdout);
^
main.cpp:45:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
main.cpp:48:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 10ms | 524kb | OK | 10 | 10 |
| 2 | 9ms | 524kb | OK | 10 | 20 |
| 3 | 9ms | 524kb | OK | 10 |
| 4 | 9ms | 524kb | OK | 10 | 30 |
| 5 | 9ms | 524kb | OK | 10 |
| 6 | 9ms | 524kb | OK | 10 |
| 7 | 9ms | 524kb | OK | 10 | 40 |
| 8 | 53ms | 655kb | OK | 10 |
| 9 | 31ms | 655kb | OK | 10 |
| 10 | 112ms | 655kb | OK | 10 |
| Punctaj total | 100 |