Pagini recente » Borderou de evaluare (job #2842361) | Borderou de evaluare (job #369819) | Borderou de evaluare (job #2562230) | Borderou de evaluare (job #1406061) | Borderou de evaluare (job #1261490)
Borderou de evaluare (job #1261490)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((n-i)>=m-portativ.size()&&n>i)
^
user.cpp:19:82: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((!portativ.empty())&&(nota>portativ.top())&&((n-i)>m-portativ.size()))
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("trompeta.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("trompeta.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",¬a);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",¬a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 12ms | 372kb | OK | 10 |
7 | 12ms | 320kb | OK | 10 |
8 | Depăşit | 308kb | Time limit exceeded. | 0 |
9 | Depăşit | 668kb | Time limit exceeded. | 0 |
10 | Depăşit | 312kb | Time limit exceeded. | 0 |
Punctaj total | 70 |