Pagini recente » Borderou de evaluare (job #2749001) | Cod sursa (job #2425257) | Borderou de evaluare (job #3191917) | Borderou de evaluare (job #1794057) | Borderou de evaluare (job #1632629)
Borderou de evaluare (job #1632629)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.in", "r", stdin);
^
user.cpp:45:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.out", "w", stdout);
^
user.cpp: In function ‘long long int solve(int*, int, int&)’:
user.cpp:37:15: warning: ‘end’ may be used uninitialized in this function [-Wmaybe-uninitialized]
len = end - beg + 1;
^
user.cpp:37:15: warning: ‘beg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp: In function ‘int main()’:
user.cpp:37:15: warning: ‘beg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:18:9: note: ‘beg’ was declared here
int beg, end, idx = 1;
^
user.cpp:37:15: warning: ‘end’ may be used uninitialized in this function [-Wmaybe-uninitialized]
len = end - beg + 1;
^
user.cpp:18:14: note: ‘end’ was declared here
int beg, end, idx = 1;
^
user.cpp:37:15: warning: ‘beg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
len = end - beg + 1;
^
user.cpp:18:9: note: ‘beg’ was declared here
int beg, end, idx = 1;
^
user.cpp:37:15: warning: ‘end’ may be used uninitialized in this function [-Wmaybe-uninitialized]
len = end - beg + 1;
^
user.cpp:18:14: note: ‘end’ was declared here
int beg, end, idx = 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 424kb | Incorect | 0 | 0 |
| 2 | 4ms | 424kb | Incorect | 0 |
| 3 | 4ms | 416kb | Incorect | 0 |
| 4 | 4ms | 416kb | Incorect | 0 |
| 5 | 4ms | 420kb | Incorect | 0 |
| 6 | 4ms | 420kb | Incorect | 0 |
| 7 | 4ms | 420kb | Incorect | 0 |
| 8 | 4ms | 416kb | Incorect | 0 |
| 9 | 4ms | 420kb | Incorect | 0 |
| 10 | 4ms | 424kb | Incorect | 0 |
| Punctaj total | 0 |