Pagini recente » Borderou de evaluare (job #2895497) | Borderou de evaluare (job #1621644) | Borderou de evaluare (job #1497222) | Borderou de evaluare (job #1245222) | Borderou de evaluare (job #1257004)
Borderou de evaluare (job #1257004)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<frig.size();j++)
^
user.cpp:42:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ok==frig.size()) {frig.push_back(make_pair(mn,mx));}
^
user.cpp:18:15: warning: unused variable ‘m’ [-Wunused-variable]
int n,i,j,m,mn,mx,MIN,MAX,ok;
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactivi.in","r",stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactivi.out","w",stdout);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:25:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&mn,&mx);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 276kb | OK | 10 | 10 |
| 2 | 0ms | 284kb | OK | 10 | 10 |
| 3 | 0ms | 308kb | OK | 10 | 10 |
| 4 | 4ms | 404kb | OK | 10 | 10 |
| 5 | 0ms | 340kb | OK | 10 | 60 |
| 6 | 0ms | 276kb | OK | 10 |
| 7 | 4ms | 404kb | OK | 10 |
| 8 | 0ms | 308kb | OK | 10 |
| 9 | 8ms | 404kb | OK | 10 |
| 10 | 0ms | 276kb | OK | 10 |
| Punctaj total | 100 |