Pagini recente » Borderou de evaluare (job #1158401) | Borderou de evaluare (job #1054890) | Borderou de evaluare (job #2205832) | Borderou de evaluare (job #2817771) | Borderou de evaluare (job #1451017)
Borderou de evaluare (job #1451017)
Raport evaluator
Compilare:
user.cpp: In function ‘void read_data()’:
user.cpp:11:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fopen(IN, "r"), "%d %d", &N, &P);
^
user.cpp:11:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘int main()’:
user.cpp:28:37: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fopen(OUT, "w"), "%ld\n", r);
^
user.cpp: In function ‘void read_data()’:
user.cpp:11:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fopen(IN, "r"), "%d %d", &N, &P);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 432kb | OK | 10 |
| 3 | 0ms | 436kb | OK | 10 |
| 4 | 0ms | 436kb | OK | 10 |
| 5 | 0ms | 440kb | OK | 10 |
| 6 | 0ms | 440kb | OK | 10 |
| 7 | 0ms | 436kb | OK | 10 |
| 8 | 0ms | 436kb | OK | 10 |
| 9 | 0ms | 436kb | OK | 10 |
| 10 | 0ms | 436kb | OK | 10 |
| Punctaj total | 100 |