Pagini recente » Borderou de evaluare (job #1642593) | Borderou de evaluare (job #254390) | Borderou de evaluare (job #1390823) | Borderou de evaluare (job #1837842) | Borderou de evaluare (job #1842697)
Borderou de evaluare (job #1842697)
Raport evaluator
Compilare:
user.cpp:5:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable:4996)
^
user.cpp: In function ‘int main()’:
user.cpp:21:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64_t {aka long long int}’ [-Wformat=]
printf("%d", exp_by_squaring(n, p) % mod);
^
user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.in", "r", stdin);
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.out", "w", stdout);
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Incorect | 0 |
| 2 | 0ms | 272kb | Incorect | 0 |
| 3 | 0ms | 272kb | Incorect | 0 |
| 4 | 0ms | 272kb | Incorect | 0 |
| 5 | 0ms | 268kb | Incorect | 0 |
| 6 | 0ms | 268kb | Incorect | 0 |
| 7 | 0ms | 272kb | Incorect | 0 |
| 8 | 0ms | 268kb | OK | 10 |
| 9 | 0ms | 268kb | Incorect | 0 |
| 10 | 0ms | 272kb | Incorect | 0 |
| Punctaj total | 10 |