Pagini recente » Borderou de evaluare (job #2649158) | Borderou de evaluare (job #2786692) | Borderou de evaluare (job #2505299) | Cod sursa (job #1925672) | Borderou de evaluare (job #2302505)
Borderou de evaluare (job #2302505)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:19: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'ull* {aka long long unsigned int*}' [-Wformat=]
scanf("%I64u",&n);
^
main.cpp:21:33: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'ull {aka long long unsigned int}' [-Wformat=]
printf("%I64u", josephus(n, 2));
^
main.cpp:17:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fetite.in","r",stdin);
^
main.cpp:18:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fetite.out","w",stdout);
^
main.cpp:20:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64u",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 4ms | 786kb | Incorect | 0 |
| 4 | 24ms | 6684kb | Incorect | 0 |
| 5 | 45ms | 20496kb | Memory limit exceeded | 0 |
| 6 | 45ms | 20496kb | Memory limit exceeded | 0 |
| 7 | 45ms | 20496kb | Memory limit exceeded | 0 |
| 8 | 45ms | 20496kb | Memory limit exceeded | 0 |
| 9 | 45ms | 20496kb | Memory limit exceeded | 0 |
| 10 | 45ms | 20496kb | Memory limit exceeded | 0 |
| Punctaj total | 0 |