Pagini recente » Borderou de evaluare (job #2317157) | Borderou de evaluare (job #66847) | Borderou de evaluare (job #2171425) | Borderou de evaluare (job #1714813) | Borderou de evaluare (job #1217169)
Borderou de evaluare (job #1217169)
Raport evaluator
Compilare:
user.cpp: In function ‘int dist(long long int, long long int, long long int, long long int)’:
user.cpp:21:63: warning: unused variable ‘vl’ [-Wunused-variable]
long long dst = (x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2),vl = 0;
^
user.cpp: In function ‘void solveA()’:
user.cpp:67:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",totalA);
^
user.cpp: In function ‘void solveB()’:
user.cpp:74:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < tr.size(); ++i)
^
user.cpp: In function ‘void read()’:
user.cpp:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&K,&B);
^
user.cpp:40:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&h[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:94:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("telecab.in","r",stdin);
^
user.cpp:95:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("telecab.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4232kb | Corect ! | 10 |
2 | 4ms | 4228kb | Corect ! | 10 |
3 | 4ms | 4232kb | Corect ! | 10 |
4 | 8ms | 4232kb | Corect ! | 10 |
5 | 4ms | 4228kb | Corect ! | 10 |
6 | 16ms | 4504kb | Corect ! | 10 |
7 | 32ms | 4824kb | Corect ! | 10 |
8 | 48ms | 4936kb | Corect ! | 10 |
9 | 60ms | 4976kb | Corect ! | 10 |
10 | 72ms | 5008kb | Corect ! | 10 |
Punctaj total | 100 |