Borderou de evaluare (job #2376002)

Utilizator CiprianC111Constantinescu Ciprian CiprianC111 Data 8 martie 2019 13:16:49
Problema Divizor si multiplu Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:24:42: error: expected ';' before '}' token if(!x) { printf("0\n"); continue } ^ main.cpp:25:50: error: expected ';' before '}' token else if(y % x) { printf("0\n"); continue } ^ main.cpp:27:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i <= pr.size() and pr[i] < y; i++) ~~^~~~~~~~~~~~ main.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("divmul.in", "r", stdin); ^ main.cpp:12:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("divmul.out", "w", stdout); ^ main.cpp:19:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:23:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ Non zero exit status: 1

Ceva nu functioneaza?