Pagini recente » Borderou de evaluare (job #1611879) | Borderou de evaluare (job #2785972) | Adapost 2 | Borderou de evaluare (job #1322102) | Borderou de evaluare (job #2125523)
Borderou de evaluare (job #2125523)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("hacker.in", "r", stdin);
^
user.cpp:60:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("hacker.out", "w", stdout);
^
user.cpp:64:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &N, &K);
^
user.cpp:65:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", sir);
^
user.cpp: In function ‘int solve(std::__cxx11::string)’:
user.cpp:53:35: warning: ‘curr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (N & 1) curr = (1LL * curr * K) % mod;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1316kb | Incorect | 0 |
| 2 | 0ms | 1316kb | Incorect | 0 |
| 3 | 0ms | 1316kb | Incorect | 0 |
| 4 | 0ms | 1312kb | Incorect | 0 |
| 5 | 0ms | 1312kb | Incorect | 0 |
| 6 | 0ms | 1316kb | OK | 10 |
| 7 | 0ms | 1312kb | Incorect | 0 |
| 8 | 16ms | 1316kb | Incorect | 0 |
| 9 | 20ms | 1312kb | Incorect | 0 |
| 10 | 16ms | 1316kb | Incorect | 0 |
| Punctaj total | 10 |