Pagini recente » Cod sursa (job #1925603) | Cod sursa (job #353091) | Borderou de evaluare (job #2899931) | Borderou de evaluare (job #1595998) | Borderou de evaluare (job #2468719)
Borderou de evaluare (job #2468719)
Raport evaluator
Compilare:
main.cpp: In function 'long long int eval_x(int, int)':
main.cpp:70:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(ok<fixed_x[x].size()&&fixed_x[x][ok].second!=-1)
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:82:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tower.in","r",stdin);
^
main.cpp:83:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tower.out","w",stdout);
^
main.cpp:85:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i",&n,&m);
^
main.cpp:87:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i",&total,&add);
^
main.cpp:90:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i",&inp[i].x,&inp[i].y);
^
main.cpp:96:59: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i%i",&inp[i].x,&inp[i].y,&inp[i].points);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 22ms | 9723kb | OK | 5 |
| 2 | 21ms | 9711kb | OK | 5 |
| 3 | 24ms | 9891kb | OK | 5 |
| 4 | 24ms | 9875kb | OK | 5 |
| 5 | 26ms | 9920kb | Incorect | 0 |
| 6 | 27ms | 9932kb | OK | 5 |
| 7 | 431ms | 12009kb | OK | 5 |
| 8 | 716ms | 12812kb | OK | 5 |
| 9 | 529ms | 12820kb | Incorect | 0 |
| 10 | 677ms | 13336kb | OK | 5 |
| 11 | 1502ms | 16896kb | Time limit exceeded | 0 |
| 12 | 1502ms | 16244kb | Time limit exceeded | 0 |
| 13 | 1139ms | 17965kb | OK | 5 |
| 14 | 1501ms | 19394kb | Time limit exceeded | 0 |
| 15 | 1501ms | 31072kb | Time limit exceeded | 0 |
| 16 | 1500ms | 19722kb | Time limit exceeded | 0 |
| 17 | 1501ms | 22724kb | Time limit exceeded | 0 |
| 18 | 1422ms | 19623kb | OK | 5 |
| 19 | 1504ms | 28327kb | Time limit exceeded | 0 |
| 20 | 1426ms | 19705kb | OK | 5 |
| Punctaj total | 55 |