Nu aveti permisiuni pentru a descarca fisierul grader_eval.cpp
Borderou de evaluare (job #2610887)
| Utilizator | Data | 5 mai 2020 20:42:00 | |
|---|---|---|---|
| Problema | Echilateral | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-32 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:51: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", (n-a+1)*1LL*(n-a+2)/2%mod);
^
main.cpp:15:87: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", ((n-a+1)*1LL*(n-a+2)/2%mod+(n-2*a+1)*1LL*(n-2*a+2)/2%mod)%mod);
^
main.cpp:7:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("echilateral.in", "r", stdin);
^
main.cpp:8:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("echilateral.out", "w", stdout);
^
main.cpp:10:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &a, &b);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 65ms | 131kb | Incorect | 0 |
| 5 | 39ms | 131kb | Incorect | 0 |
| 6 | 176ms | 131kb | Incorect | 0 |
| 7 | 207ms | 131kb | Incorect | 0 |
| 8 | 188ms | 131kb | Incorect | 0 |
| 9 | 156ms | 131kb | Incorect | 0 |
| 10 | 286ms | 262kb | Incorect | 0 |
| Punctaj total | 0 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
