Pagini recente » Borderou de evaluare (job #294450) | Borderou de evaluare (job #2212898) | Borderou de evaluare (job #1788945) | Borderou de evaluare (job #2024770) | Borderou de evaluare (job #1801170)
Borderou de evaluare (job #1801170)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf (f, "%d%d", &n, &P);
^
user.cpp:13:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:14:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf (g, "%d", ((n - 1) * n * (n + 1)) / 3 % P);
^
user.cpp:13:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%d%d", &n, &P);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 256kb | Incorect | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 260kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 20 |