Pagini recente » Borderou de evaluare (job #1234941) | Borderou de evaluare (job #2678689) | Borderou de evaluare (job #2671117) | Borderou de evaluare (job #1211898) | Borderou de evaluare (job #1610291)
Borderou de evaluare (job #1610291)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((dq.size()>a && dq.front()<0)||dq.size()>b)
^
user.cpp:17:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((dq.size()>a && dq.front()<0)||dq.size()>b)
^
user.cpp:23:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d", sum);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.in", "r", stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.out", "w", stdout);
^
user.cpp:11:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &a, &b);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tmp);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 4ms | 340kb | Incorect | 0 |
4 | 8ms | 376kb | Incorect | 0 |
5 | 12ms | 324kb | Incorect | 0 |
6 | 12ms | 328kb | Incorect | 0 |
7 | 16ms | 380kb | Incorect | 0 |
8 | 20ms | 528kb | Incorect | 0 |
9 | 24ms | 528kb | Incorect | 0 |
10 | 28ms | 412kb | Incorect | 0 |
Punctaj total | 0 |