Pagini recente » Borderou de evaluare (job #2351445) | Borderou de evaluare (job #763345) | Borderou de evaluare (job #601483) | Borderou de evaluare (job #847847) | Borderou de evaluare (job #1689578)
Borderou de evaluare (job #1689578)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:16:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(buffer); i++ ){
^
user.cpp:23:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < strlen(buffer); k++ ){
^
user.cpp:15:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buffer);
^
user.cpp:21:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buffer);
^
user.cpp: In function ‘int main()’:
user.cpp:109:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alpin.in", "r", stdin);
^
user.cpp:110:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alpin.out", "w", stdout);
^
/tmp/ccBsKRLO.o: In function `citire()':
user.cpp:(.text+0x18): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 572kb | Alpinistul si-a indeplinit sarcina! | 10 |
2 | 4ms | 1012kb | Alpinistul si-a indeplinit sarcina! | 10 |
3 | 28ms | 1524kb | Alpinistul si-a indeplinit sarcina! | 10 |
4 | Depăşit | 1888kb | Time limit exceeded. | 0 |
5 | 244ms | 3192kb | Alpinistul si-a indeplinit sarcina! | 10 |
6 | Depăşit | 2040kb | Time limit exceeded. | 0 |
7 | Depăşit | 1020kb | Time limit exceeded. | 0 |
8 | Depăşit | 872kb | Time limit exceeded. | 0 |
9 | Depăşit | 1936kb | Time limit exceeded. | 0 |
10 | Depăşit | 680kb | Time limit exceeded. | 0 |
Punctaj total | 40 |