Pagini recente » Borderou de evaluare (job #1234400) | Borderou de evaluare (job #2465178) | Borderou de evaluare (job #1686173) | Borderou de evaluare (job #171653) | Borderou de evaluare (job #1877819)
Borderou de evaluare (job #1877819)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dlog.in","r",stdin);
^
user.cpp:64:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dlog.out","w",stdout);
^
user.cpp:67:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &tests); tests; --tests) {
^
user.cpp:69:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &mod, &proot, &x);
^
user.cpp: In function ‘int get_pow(int, int, int)’:
user.cpp:41:40: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int sqrt = get_sqrt(mod); int val, res;
^
user.cpp:9:17: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return (1LL * a * b) % mod;
^
user.cpp:41:35: note: ‘val’ was declared here
int sqrt = get_sqrt(mod); int val, res;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 40ms | 4352kb | OK | 10 |
3 | 0ms | 452kb | OK | 10 |
4 | 8ms | 472kb | OK | 10 |
5 | Depăşit | 4336kb | Time limit exceeded. | 0 |
6 | 104ms | 1232kb | OK | 10 |
7 | Depăşit | 4332kb | Time limit exceeded. | 0 |
8 | Depăşit | 8228kb | Time limit exceeded. | 0 |
9 | Depăşit | 4336kb | Time limit exceeded. | 0 |
10 | Depăşit | 4332kb | Time limit exceeded. | 0 |
Punctaj total | 50 |