Pagini recente » Borderou de evaluare (job #427042) | Borderou de evaluare (job #488933) | Borderou de evaluare (job #1489941) | Borderou de evaluare (job #1473796) | Borderou de evaluare (job #1720930)
Borderou de evaluare (job #1720930)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(rez1>=rez2)
^
user.cpp:121:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(rez1>rez2)
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2numere.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2numere.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c1[i]);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c2[i]);
^
user.cpp:42:17: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vc2[b]=1;
^
user.cpp:39:17: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vc1[a]=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK! | 10 |
2 | 0ms | 252kb | OK! | 10 |
3 | 0ms | 252kb | OK! | 10 |
4 | 0ms | 260kb | OK! | 10 |
5 | 0ms | 256kb | OK! | 10 |
6 | 0ms | 256kb | OK! | 10 |
7 | 0ms | 252kb | OK! | 10 |
8 | 0ms | 256kb | OK! | 10 |
9 | 0ms | 256kb | OK! | 10 |
10 | 0ms | 256kb | OK! | 10 |
Punctaj total | 100 |