Pagini recente » Borderou de evaluare (job #127329) | Borderou de evaluare (job #2886848) | Borderou de evaluare (job #1776802) | Borderou de evaluare (job #3140745) | Borderou de evaluare (job #1485082)
Borderou de evaluare (job #1485082)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fr[i].size()>maxx && fr[i].size()==n-i) { maxx=fr[i].size(); pas=i; }
^
user.cpp:15:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fr[i].size()>maxx && fr[i].size()==n-i) { maxx=fr[i].size(); pas=i; }
^
user.cpp:17:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<fr[pas].size();i++) printf("%d\n",fr[pas][i]);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mincinosi.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mincinosi.out","w",stdout);
^
user.cpp:10:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x); fr[x].push_back(i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 11988kb | Corect! | 10 |
2 | 16ms | 11984kb | Corect! | 10 |
3 | 16ms | 11988kb | Corect! | 10 |
4 | 24ms | 12140kb | Corect! | 10 |
5 | 44ms | 12216kb | Corect! | 10 |
6 | 120ms | 13504kb | Corect! | 10 |
7 | 240ms | 14392kb | Corect! | 10 |
8 | 228ms | Depăşit | Memory limit exceeded. | 0 |
9 | 268ms | Depăşit | Memory limit exceeded. | 0 |
10 | 252ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 70 |