Pagini recente » Cod sursa (job #179525) | Cod sursa (job #185511) | Cod sursa (job #75532) | Borderou de evaluare (job #1660479)
Borderou de evaluare (job #1660479)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:34:31: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hd%hd", &x, &y);
^
user.cpp:34:31: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘void Optimize()’:
user.cpp:55:27: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=N, ok = 1; i>=1, ok; --i)
^
user.cpp: In function ‘void Solve()’:
user.cpp:34:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &x, &y);
^
user.cpp: In function ‘void Read()’:
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("banana.in", "rt", stdin);
^
user.cpp:96:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.out", "wt", stdout);
^
user.cpp:97:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |