Pagini recente » Borderou de evaluare (job #2153941) | Borderou de evaluare (job #2251344) | Borderou de evaluare (job #2843303) | Borderou de evaluare (job #848957) | Borderou de evaluare (job #1182581)
Borderou de evaluare (job #1182581)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(dubla.size()>t)dubla.pop_front();
^
user.cpp:22:13: warning: unused variable ‘fata’ [-Wunused-variable]
int fata=dubla.front();
^
user.cpp:11:19: warning: unused variable ‘minim’ [-Wunused-variable]
int n,s,t,x,y,minim;long long sol=0;
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("branza.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("branza.out","w",stdout);
^
user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&s,&t);cost.push_back(sol);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 308kb | Incorect | 0 |
4 | 32ms | 528kb | Incorect | 0 | 0 |
5 | 48ms | 772kb | OK | 10 |
6 | 52ms | 772kb | OK | 10 |
7 | 56ms | 772kb | OK | 10 | 10 |
8 | 60ms | 768kb | OK | 10 | 10 |
9 | 60ms | 772kb | OK | 10 | 10 |
10 | 60ms | 772kb | OK | 10 | 10 |
Punctaj total | 40 |