Pagini recente » Borderou de evaluare (job #249652) | Autentificare | Atasamentele paginii Profil ukerem | Borderou de evaluare (job #2005752) | Borderou de evaluare (job #2467443)
Borderou de evaluare (job #2467443)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:12:47: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%d %d %d %d %d", &n, &a, &b, &p, &q);
^
main.cpp:12:47: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:12:47: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:12:47: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:12:47: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp: In function 'int main()':
main.cpp:91:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%d\n", calc_sol(calc_prod(), calc_phi(q) - 1));
^
main.cpp: In function 'void read()':
main.cpp:12:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &n, &a, &b, &p, &q);
^
main.cpp: In function 'int main()':
main.cpp:87:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("xp.in", "r", stdin);
^
main.cpp:88:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("xp.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 131kb | OK | 10 |
| 2 | 19ms | 131kb | OK | 10 |
| 3 | 130ms | 131kb | OK | 10 |
| 4 | 381ms | 262kb | OK | 10 |
| 5 | 29ms | 131kb | OK | 10 |
| 6 | 1603ms | 131kb | Time limit exceeded | 0 |
| 7 | 1600ms | 131kb | Time limit exceeded | 0 |
| 8 | 1601ms | 131kb | Time limit exceeded | 0 |
| 9 | 1601ms | 131kb | Time limit exceeded | 0 |
| 10 | 1601ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 50 |