Pagini recente » Borderou de evaluare (job #776869) | Borderou de evaluare (job #2110481) | Borderou de evaluare (job #3127335) | Borderou de evaluare (job #1752960) | Borderou de evaluare (job #1466144)
Borderou de evaluare (job #1466144)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %lld", &k, &p, &n);
^
user.cpp:20:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:26:80: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ((plog(k + p, n) + plog(k - p + mod, n)) * 333007) % mod);
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazie.in", "r", stdin);
^
user.cpp:16:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazie.out", "w", stdout);
^
user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrt);
^
user.cpp:20:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %lld", &k, &p, &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 996ms | 292kb | Incorect | 0 |
4 | 996ms | 292kb | Incorect | 0 |
5 | Depăşit | 288kb | Time limit exceeded. | 0 |
6 | 848ms | 292kb | Incorect | 0 |
7 | 744ms | 288kb | Incorect | 0 |
8 | 676ms | 288kb | Incorect | 0 |
9 | 616ms | 288kb | Incorect | 0 |
10 | Depăşit | 288kb | Time limit exceeded. | 0 |
Punctaj total | 20 |