Borderou de evaluare (job #2649153)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 13 septembrie 2020 10:57:37
Problema 7segmente Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:27: warning: format '%llu' expects argument of type 'long long unsigned int*', but argument 3 has type 'int*' [-Wformat=] scanf("%llu%llu",&n,&p); ^ main.cpp:60:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(!ok)for(j=x[i];j>=1 && p<cif[j-1];j--); ~^~~~~~~~~ main.cpp:61:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else for(j=9;j>=1 && p<cif[j-1];j--); ~^~~~~~~~~ main.cpp:81:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=9;j>=1 && p<cif[j-1];j--); ~^~~~~~~~~ main.cpp:18:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("7segmente.in","r",stdin); ^ main.cpp:19:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("7segmente.out","w",stdout); ^ main.cpp:21:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%llu%llu",&n,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbTe stii !5
22ms131kbTe stii !5
32ms131kbTe stii !5
42ms131kbTe stii !5
52ms131kbTe stii !5
62ms131kbTe stii !5
72ms131kbTe stii !5
82ms131kbTe stii !5
92ms131kbTe stii !5
102ms131kbTe stii !5
112ms131kbTe stii !5
122ms131kbTe stii !5
132ms131kbTe stii !5
142ms131kbTe stii !5
152ms131kbTe stii !5
162ms131kbTe stii !5
172ms131kbTe stii !5
182ms131kbTe stii !5
192ms131kbTe stii !5
202ms131kbTe stii !5
Punctaj total100

Ceva nu functioneaza?