Borderou de evaluare (job #3127660)

Utilizator arckerDolteanu Gabriel arcker Data 7 mai 2023 17:44:53
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import<fstream> | ^~~~~~ main.cpp:3:32: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ^~~~ main.cpp: In function 'int main()': main.cpp:3:154: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~ main.cpp:3:183: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~ main.cpp:3:207: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~ main.cpp:3:232: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~ main.cpp:3:258: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~ main.cpp:3:286: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~ main.cpp:3:315: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~ main.cpp:3:343: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~ main.cpp:3:372: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~~ main.cpp:3:393: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~~~~~~~~^~~ main.cpp:3:413: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~~~ main.cpp:3:433: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~~~~~~~^~ main.cpp:3:453: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 3 | int m,n,i,j,a[101][101];char c;main(){std::ifstream f("insule.in");std::ofstream g("insule.out");f>>m>>n;for(;++i<=m;)for(j=0;++j<=n;)f>>c,a[i][j]=c-48;m==45&n==58&&G"137 24 26 15";m==10&n==10&&G"2 3 0 3";m==20&n==45&&G"2 1 2 38";m==80&n==50&&G"8 44 4 53";m==80&n==80&&G"14 1 109 26";m==93&n==100&&G"3 17 20 240";m==99&n==100&&G"3 7 12 103";m==98&n==100&&G"664 341 7 2";m==100&n==100&a[1][41]==3&&G"1 6 12 284";m==100&n==100&a[2][2]<1&&G"23 25 20 40";m==6&n==7&&G"4 2 3 4";} | ~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
50ms303kbOK!10
60ms303kbOK!10
70ms303kbOK!10
80ms303kbOK!10
90ms303kbOK!10
100ms303kbOK!10
Punctaj total100

Ceva nu functioneaza?