Pagini recente » Borderou de evaluare (job #1915439) | Borderou de evaluare (job #2819879) | Borderou de evaluare (job #2633146) | Borderou de evaluare (job #3124482) | Borderou de evaluare (job #1799800)
Borderou de evaluare (job #1799800)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:39: warning: passing NULL to non-pointer argument 1 of ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::value_type = int]’ [-Wconversion-null]
stk.push_back(NULL);
^
user.cpp:42:39: warning: passing NULL to non-pointer argument 1 of ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::value_type = int]’ [-Wconversion-null]
stk.push_back(NULL);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euler.in", "r", stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euler.out", "w", stdout);
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 4ms | 508kb | OK | 10 |
| 5 | 4ms | 548kb | OK | 10 |
| 6 | 36ms | 1036kb | OK | 10 |
| 7 | 0ms | 444kb | OK | 10 |
| 8 | 28ms | 892kb | OK | 10 |
| 9 | 100ms | 1980kb | OK | 10 |
| 10 | 188ms | 3376kb | OK | 10 |
| Punctaj total | 100 |