Pagini recente » Rezultatele filtrării | Istoria paginii utilizator/crisutza86 | Diferente pentru problema/pm2 intre reviziile 12 si 13 | Borderou de evaluare (job #2283743)
Borderou de evaluare (job #2283743)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=]
scanf("%1d", &bit) ;
^
main.cpp:44:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", dp[(1 << n) - 1]) ;
^
main.cpp:24:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.in", "r", stdin) ;
^
main.cpp:25:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.out", "w", stdout) ;
^
main.cpp:28:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &l) ;
^
main.cpp:31:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d", &bit) ;
^
main.cpp:36:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 3ms | 131kb | Killed by Signal 11 | 0 |
4 | 9ms | 131kb | Killed by Signal 11 | 0 |
5 | 12ms | 131kb | Killed by Signal 11 | 0 |
6 | 38ms | 262kb | Killed by Signal 11 | 0 |
7 | 84ms | 262kb | Killed by Signal 11 | 0 |
8 | 126ms | 262kb | Killed by Signal 11 | 0 |
9 | 238ms | 524kb | Killed by Signal 11 | 0 |
10 | 194ms | 393kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |