Pagini recente » Borderou de evaluare (job #1785436) | Borderou de evaluare (job #2814813) | Borderou de evaluare (job #1846785) | Borderou de evaluare (job #1698435) | Borderou de evaluare (job #1949818)
Borderou de evaluare (job #1949818)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ec.in","r",stdin);
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ec.out","w",stdout);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &n, &k);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
user.cpp:20:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("\n");
^
user.cpp:27:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
/tmp/ccQOAkvc.o: In function `main':
user.cpp:(.text.startup+0x130): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Gresit! | 6 |
2 | 0ms | 296kb | Gresit! | 7 |
3 | 0ms | 296kb | Gresit! | 7 |
4 | 0ms | 296kb | OK | 10 |
5 | 8ms | 308kb | Gresit! | 7 |
6 | 0ms | 300kb | Gresit! | 7 |
7 | 40ms | 304kb | Gresit! | 7 |
8 | 64ms | 308kb | Gresit! | 7 |
9 | 0ms | 296kb | Gresit! | 7 |
10 | 0ms | 296kb | Gresit! | 3 |
Punctaj total | 68 |