Pagini recente » Borderou de evaluare (job #719098) | Borderou de evaluare (job #1871329) | Borderou de evaluare (job #3242388) | Borderou de evaluare (job #3245169) | Borderou de evaluare (job #2132361)
Borderou de evaluare (job #2132361)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:79:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(sol>A[i]||sol==A[i]&&aux<rez)
^
user.cpp:10:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i,s,d) for(i=(s);i<(d);++i)
^
user.cpp:84:5: note: in expansion of macro ‘FOR’
FOR(i,0,rez.sz) FOR(j,0,rez[i].sz)
^
user.cpp:10:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i,s,d) for(i=(s);i<(d);++i)
^
user.cpp:84:21: note: in expansion of macro ‘FOR’
FOR(i,0,rez.sz) FOR(j,0,rez[i].sz)
^
user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scara2.in","r",stdin);
^
user.cpp:62:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scara2.out","w",stdout);
^
user.cpp:64:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&h,&n,&m,&p);m++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 876kb | OK | 10 |
2 | 16ms | 956kb | OK | 10 |
3 | 36ms | 1072kb | OK | 10 |
4 | 36ms | 1072kb | OK | 10 |
5 | 4ms | 876kb | OK | 10 |
6 | 0ms | 876kb | OK | 10 |
7 | 28ms | 1068kb | OK | 10 |
8 | 0ms | 872kb | OK | 10 |
9 | 4ms | 876kb | OK | 10 |
10 | 4ms | 1064kb | OK | 10 |
Punctaj total | 100 |