Pagini recente » Borderou de evaluare (job #2383215) | Borderou de evaluare (job #263580) | Borderou de evaluare (job #1309566) | Borderou de evaluare (job #1193711) | Borderou de evaluare (job #2145619)
Borderou de evaluare (job #2145619)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:10: warning: statement has no effect [-Wunused-value]
for(i;best>0;--i)
^
user.cpp:67:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();++i)printf("%d ",ans[i]);
^
user.cpp: In function ‘void read_data()’:
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.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:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1072kb | Corect! | 10 | 10 |
| 2 | 0ms | 1100kb | Corect! | 10 | 10 |
| 3 | 0ms | 1052kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 4 | 0ms | 1044kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 8ms | 1064kb | Lungime incorecta! | 0 | 0 |
| 6 | 0ms | 1056kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 7 | 0ms | 1060kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 8 | 40ms | 1812kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 9 | 36ms | 1820kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 36ms | 1816kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 20 |