Pagini recente » Borderou de evaluare (job #2363248) | Borderou de evaluare (job #651370) | Borderou de evaluare (job #99186) | Borderou de evaluare (job #250590) | Borderou de evaluare (job #1477842)
Borderou de evaluare (job #1477842)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(s[k] != ' ' && k < strlen(s)){
^
user.cpp:37:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < l[i].size(); j++){
^
user.cpp:18:33: 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:19:35: 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);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:25:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cctfHiVh.o: In function `main':
user.cpp:(.text.startup+0xd6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 628kb | Alpinistul si-a indeplinit sarcina! | 10 |
2 | 4ms | 1112kb | Alpinistul si-a indeplinit sarcina! | 10 |
3 | 16ms | 1760kb | Alpinistul si-a indeplinit sarcina! | 10 |
4 | 24ms | 2620kb | Alpinistul si-a indeplinit sarcina! | 10 |
5 | 212ms | 4416kb | Alpinistul si-a indeplinit sarcina! | 10 |
6 | Depăşit | 6484kb | Time limit exceeded. | 0 |
7 | Depăşit | 5452kb | Time limit exceeded. | 0 |
8 | Depăşit | 5696kb | Time limit exceeded. | 0 |
9 | Depăşit | 9608kb | Time limit exceeded. | 0 |
10 | Depăşit | 5808kb | Time limit exceeded. | 0 |
Punctaj total | 50 |