Pagini recente » Borderou de evaluare (job #3198663) | Borderou de evaluare (job #780719) | Borderou de evaluare (job #421231) | Borderou de evaluare (job #205278) | Borderou de evaluare (job #2087856)
Borderou de evaluare (job #2087856)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < text.length(); i++)
^
user.cpp:16:16: warning: unused variable ‘mod’ [-Wunused-variable]
char last, mod;
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compress.in", "r", stdin);
^
user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compress.out", "w", stdout);
^
user.cpp:21:9: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(text[i] != last)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 416kb | OK | 10 | 100 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 420kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 |
5 | 0ms | 480kb | OK | 10 |
6 | 0ms | 548kb | OK | 10 |
7 | 4ms | 656kb | OK | 10 |
8 | 8ms | 780kb | OK | 10 |
9 | 8ms | 780kb | OK | 10 |
10 | 12ms | 780kb | OK | 10 |
Punctaj total | 100 |