Pagini recente » Borderou de evaluare (job #823586) | Borderou de evaluare (job #163049) | Borderou de evaluare (job #2797933) | Borderou de evaluare (job #681409) | Borderou de evaluare (job #1946360)
Borderou de evaluare (job #1946360)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:48:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", n*(n-1)/2-rez);
^
user.cpp:23:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:26:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 308kb | OK | 10 | 20 |
| 2 | 144ms | 5108kb | OK | 10 |
| 3 | 8ms | 752kb | OK | 10 | 0 |
| 4 | 172ms | 5140kb | Incorect | 0 |
| 5 | 0ms | 268kb | OK | 10 | 20 |
| 6 | 156ms | 5144kb | OK | 10 |
| 7 | 72ms | 2708kb | OK | 10 | 10 |
| 8 | 172ms | 5144kb | Incorect | 0 | 0 |
| 9 | 176ms | 5144kb | Incorect | 0 | 0 |
| 10 | 84ms | 2712kb | OK | 10 | 10 |
| Punctaj total | 60 |