Pagini recente » Borderou de evaluare (job #250696) | Borderou de evaluare (job #139977) | Borderou de evaluare (job #3238447) | Borderou de evaluare (job #1616685) | Borderou de evaluare (job #1262012)
Borderou de evaluare (job #1262012)
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:18:85: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((!portativ.empty())&&(nota[i]>portativ.top())&&((n-i)>m-portativ.size()))
^
user.cpp:9:38: 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:10:40: 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:11: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:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",nota);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 4ms | 472kb | OK | 10 |
7 | 4ms | 428kb | OK | 10 |
8 | 36ms | 2168kb | OK | 10 |
9 | 36ms | 3040kb | OK | 10 |
10 | 32ms | 2244kb | OK | 10 |
Punctaj total | 100 |