Pagini recente » Borderou de evaluare (job #2568341) | Borderou de evaluare (job #2440988) | Borderou de evaluare (job #907823) | Borderou de evaluare (job #3039153) | Borderou de evaluare (job #2166056)
Borderou de evaluare (job #2166056)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:16:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:16:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("delfin.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("delfin.out","w",stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
/tmp/cc4nn7ck.o: In function `main':
user.cpp:(.text.startup+0x99): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 21 | 4ms | 8492kb | OK! | 0 | 0 |
| 22 | 4ms | 8504kb | OK! | 0 | 0 |
| 23 | 4ms | 8432kb | OK! | 0 | 0 |
| 1 | 4ms | 8392kb | OK! | 5 | 5 |
| 2 | 4ms | 8420kb | OK! | 5 | 5 |
| 3 | 4ms | 8484kb | OK! | 5 | 5 |
| 4 | 4ms | 8440kb | Raspuns gresit! | 0 | 0 |
| 5 | 8ms | 10580kb | OK! | 5 | 5 |
| 6 | 8ms | 10608kb | OK! | 5 | 5 |
| 7 | 8ms | 10764kb | Raspuns gresit! | 0 | 0 |
| 8 | 8ms | 10680kb | Raspuns gresit! | 0 | 0 |
| 9 | 8ms | 10728kb | OK! | 5 | 5 |
| 10 | 8ms | 10836kb | Raspuns gresit! | 0 | 0 |
| 11 | 16ms | 13688kb | Raspuns gresit! | 0 | 0 |
| 12 | 16ms | 13688kb | Raspuns gresit! | 0 | 0 |
| 13 | 40ms | 16376kb | Raspuns gresit! | 0 | 0 |
| 14 | 60ms | 17048kb | Raspuns gresit! | 0 | 0 |
| 15 | 80ms | 17356kb | Raspuns gresit! | 0 | 0 |
| 16 | 100ms | 18056kb | Raspuns gresit! | 0 | 0 |
| 17 | 84ms | 18100kb | Raspuns gresit! | 0 |
| 18 | 68ms | 17940kb | Raspuns gresit! | 0 |
| 19 | 108ms | 17972kb | Raspuns gresit! | 0 |
| 20 | 8ms | 10836kb | OK! | 5 |
| Punctaj total | 30 |