Pagini recente » Borderou de evaluare (job #1830735) | Borderou de evaluare (job #280013) | Borderou de evaluare (job #102315) | Borderou de evaluare (job #706525) | Borderou de evaluare (job #1949832)
Borderou de evaluare (job #1949832)
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/cc5jlYeP.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 | 292kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 8ms | 308kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 36ms | 308kb | OK | 10 |
8 | 56ms | 312kb | OK | 10 |
9 | 0ms | 292kb | OK | 10 |
10 | 0ms | 296kb | OK | 10 |
Punctaj total | 96 |