Pagini recente » Borderou de evaluare (job #1418017) | Borderou de evaluare (job #531599) | Borderou de evaluare (job #2254895) | Borderou de evaluare (job #2009146) | Borderou de evaluare (job #1866651)
Borderou de evaluare (job #1866651)
Raport evaluator
Compilare:
user.cpp: In function ‘void verif()’:
user.cpp:102:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", cost);
^
user.cpp:106:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", stk[i]);
^
user.cpp: In function ‘long long int getCost(long long int, long long int)’:
user.cpp:115:15: warning: unused variable ‘mx’ [-Wunused-variable]
long long mx = 0;
^
user.cpp: In function ‘void readFile()’:
user.cpp:28:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%lld", &n);
^
user.cpp:41:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%lld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Doar numarul de permutari gresit! | 5 |
2 | 0ms | 280kb | Raspuns gresit! | 0 |
3 | 0ms | 272kb | Doar numarul de permutari gresit! | 5 |
4 | 0ms | 280kb | Raspuns gresit! | 0 |
5 | 0ms | 280kb | Raspuns gresit! | 0 |
6 | 0ms | 276kb | Raspuns gresit! | 0 |
7 | 0ms | 272kb | Raspuns gresit! | 0 |
8 | 0ms | 276kb | Raspuns gresit! | 0 |
9 | 0ms | 276kb | Raspuns gresit! | 0 |
10 | 0ms | 276kb | Corect! | 10 |
Punctaj total | 20 |