Pagini recente » Borderou de evaluare (job #368123) | Borderou de evaluare (job #2101935) | Borderou de evaluare (job #587137) | Borderou de evaluare (job #3285538) | Borderou de evaluare (job #1449578)
Borderou de evaluare (job #1449578)
Raport evaluator
Compilare:
user.cpp:7:18: warning: overflow in implicit constant conversion [-Woverflow]
const int base = 1000000000000000;
^
user.cpp: In function ‘int main()’:
user.cpp:85:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (printf("%d", D[m&1][n][D[m&1][n][0]--]); D[m&1][n][0] > 0; )
^
user.cpp:86:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%.15d", D[m&1][n][D[m&1][n][0]--]);
^
user.cpp:55:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hanoi.in","r",stdin);
^
user.cpp:56:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hanoi.out","w",stdout);
^
user.cpp:58:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 316kb | Incorect | 0 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 320kb | Incorect | 0 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 320kb | OK | 10 |
7 | 168ms | 344kb | OK | 10 |
8 | 216ms | 368kb | OK | 10 |
9 | Depăşit | 348kb | Time limit exceeded. | 0 |
10 | Depăşit | 348kb | Time limit exceeded. | 0 |
Punctaj total | 60 |