Pagini recente » Borderou de evaluare (job #80895) | Borderou de evaluare (job #626501) | Borderou de evaluare (job #2132954) | Borderou de evaluare (job #74984) | Borderou de evaluare (job #1208702)
Borderou de evaluare (job #1208702)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sr.in","r",stdin);
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sr.out","w",stdout);
^
user.cpp:9:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a); gets(b); n1=strlen(a); n2=strlen(b);
^
user.cpp:9:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a); gets(b); n1=strlen(a); n2=strlen(b);
^
/tmp/ccqqZaPD.o: In function `main':
user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 232kb | Corect | 10 | 100 |
2 | 0ms | 236kb | Corect | 10 |
3 | 0ms | 236kb | Corect | 10 |
4 | 0ms | 248kb | Corect | 10 |
5 | 0ms | 248kb | Corect | 10 |
6 | 0ms | 268kb | Corect | 10 |
7 | 0ms | 300kb | Corect | 10 |
8 | 0ms | 304kb | Corect | 10 |
9 | 12ms | 376kb | Corect | 10 |
10 | 0ms | 332kb | Corect | 10 |
Punctaj total | 100 |