Pagini recente » Borderou de evaluare (job #2583896) | Borderou de evaluare (job #3145937) | Borderou de evaluare (job #2081848) | Borderou de evaluare (job #205436) | Borderou de evaluare (job #1495081)
Borderou de evaluare (job #1495081)
Raport evaluator
Compilare:
user.cpp: In function ‘void write()’:
user.cpp:78:59: warning: repeated '0' flag in format [-Wformat=]
else if (sol[i] < 10000) printf("%00000lld",sol[i]);
^
user.cpp:78:59: warning: repeated '0' flag in format [-Wformat=]
user.cpp:78:59: warning: repeated '0' flag in format [-Wformat=]
user.cpp:78:59: warning: repeated '0' flag in format [-Wformat=]
user.cpp:79:59: warning: repeated '0' flag in format [-Wformat=]
else if (sol[i] < 100000) printf("%0000lld",sol[i]);
^
user.cpp:79:59: warning: repeated '0' flag in format [-Wformat=]
user.cpp:79:59: warning: repeated '0' flag in format [-Wformat=]
user.cpp:80:59: warning: repeated '0' flag in format [-Wformat=]
else if (sol[i] < 1000000) printf("%000lld",sol[i]);
^
user.cpp:80:59: warning: repeated '0' flag in format [-Wformat=]
user.cpp:81:59: warning: repeated '0' flag in format [-Wformat=]
else if (sol[i] < 10000000) printf("%00lld",sol[i]);
^
user.cpp:83:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long long int*’ [-Wformat=]
else printf("%lld", sol);
^
user.cpp: In function ‘void read()’:
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard2.in","r", stdin);
^
user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp: In function ‘void write()’:
user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard2.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 5 |
| 2 | 0ms | 472kb | OK | 5 |
| 3 | 0ms | 512kb | OK | 5 |
| 4 | 0ms | 552kb | OK | 5 |
| 5 | 0ms | 604kb | OK | 5 |
| 6 | 0ms | 980kb | Incorect | 0 |
| 7 | 0ms | 1128kb | Incorect | 0 |
| 8 | 4ms | 1400kb | Incorect | 0 |
| 9 | 4ms | 1808kb | Incorect | 0 |
| 10 | 8ms | 2152kb | Incorect | 0 |
| 11 | 4ms | 2816kb | Incorect | 0 |
| 12 | 12ms | 3580kb | Incorect | 0 |
| 13 | 16ms | 4084kb | Incorect | 0 |
| 14 | 12ms | 4628kb | Incorect | 0 |
| 15 | 20ms | 5208kb | Incorect | 0 |
| 16 | 12ms | 5612kb | Incorect | 0 |
| 17 | 12ms | 5824kb | Incorect | 0 |
| 18 | 20ms | 5820kb | Incorect | 0 |
| 19 | 16ms | 5820kb | Incorect | 0 |
| 20 | 20ms | 5816kb | Incorect | 0 |
| Punctaj total | 25 |