Pagini recente » Borderou de evaluare (job #284334) | Borderou de evaluare (job #1377122) | Borderou de evaluare (job #1514214) | Borderou de evaluare (job #1292708)
Borderou de evaluare (job #1292708)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.in","r",stdin);
^
user.cpp:23:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.out","w",stdout);
^
user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&m,&n);
^
user.cpp:25:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); gets(a+1); i=1;
^
user.cpp:25:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); gets(a+1); i=1;
^
/tmp/cc8DhHRn.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 10 |
2 | 0ms | 268kb | OK | 10 | 10 |
3 | 0ms | 264kb | Incorect | 0 | 0 |
4 | 0ms | 264kb | OK | 10 | 10 |
5 | 0ms | 280kb | OK | 10 | 0 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 272kb | Incorect | 0 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 30 |