Pagini recente » Borderou de evaluare (job #3222968) | Borderou de evaluare (job #593181) | Borderou de evaluare (job #835268) | Borderou de evaluare (job #1224229) | Borderou de evaluare (job #1645554)
Borderou de evaluare (job #1645554)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", s-s_init); //afisez profitul, adica suma modificata - suma initiala
^
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( "bursa.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( "bursa.out", "w", stdout );
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n );
^
user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&s);
^
user.cpp:18:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x), v.push_back( x );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 288kb | OK | 10 | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 0ms | 388kb | Incorect | 0 |
7 | 0ms | 388kb | OK | 10 |
8 | 28ms | 776kb | Incorect | 0 |
9 | 20ms | 776kb | OK | 10 |
10 | 24ms | 780kb | Incorect | 0 |
Punctaj total | 0 |