Pagini recente » Borderou de evaluare (job #2506399) | Borderou de evaluare (job #1431084) | Statistici Halip Laura Elena (LauraElena) | Cod sursa (job #2152155) | Borderou de evaluare (job #2610887)
Borderou de evaluare (job #2610887)
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 |