Pagini recente » Borderou de evaluare (job #3322183) | Monitorul de evaluare | Diferente pentru utilizator/thinkphp intre reviziile 65 si 87 | Diferente pentru problema/algsort intre reviziile 24 si 23 | Borderou de evaluare (job #2144265)
Borderou de evaluare (job #2144265)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::stack<std::set<short int> >::size_type {aka long unsigned int}’ [-Wformat=]
printf("%d",st.size());
^
user.cpp:34:17: warning: unused variable ‘rasp’ [-Wunused-variable]
int n,i,j,k,rasp=0;
^
user.cpp:32:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.in","r",stdin);
^
user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.out","w",stdout);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:41:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd",&x);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1040kb | OK | 10 |
| 2 | 0ms | 1048kb | OK | 10 |
| 3 | Depăşit | 1052kb | Time limit exceeded. | 0 |
| 4 | 332ms | 6012kb | OK | 10 |
| 5 | Depăşit | 4984kb | Time limit exceeded. | 0 |
| 6 | 308ms | 9620kb | OK | 10 |
| 7 | Depăşit | 1040kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 11176kb | Time limit exceeded. | 0 |
| 9 | 448ms | 13080kb | OK | 10 |
| 10 | 24ms | 2312kb | OK | 10 |
| Punctaj total | 60 |