Pagini recente » Borderou de evaluare (job #442635) | Borderou de evaluare (job #2352255) | Borderou de evaluare (job #2732270) | Borderou de evaluare (job #2176307) | Borderou de evaluare (job #1553729)
Borderou de evaluare (job #1553729)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:79: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mere.in","r",stdin),freopen("mere.out","w",stdout),scanf("%d",&t);
^
user.cpp:4:79: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:4:79: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:6:114: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k),r=n/k,printf("%s\n",n<k?"Remiza":(r%2?"Santa Klaus":(n%k==0?"Remiza":"Santa Klaus")));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 0ms | 260kb | OK | 10 |
7 | 0ms | 256kb | OK | 10 |
8 | 0ms | 256kb | OK | 10 |
9 | 0ms | 252kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |