Pagini recente » Borderou de evaluare (job #2941390) | Borderou de evaluare (job #2165121)
Borderou de evaluare (job #2165121)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Check(int)’:
user.cpp:34:10: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^
user.cpp: In function ‘int main()’:
user.cpp:76:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:76:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:76:18: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp: In function ‘int Mod(int)’:
user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:74:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:76:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]);
^
/tmp/ccQ3jTJ5.o: In function `main':
user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3112kb | Incorect | 0 |
2 | 4ms | 3116kb | Incorect | 0 |
3 | 4ms | 3008kb | Incorect | 0 |
4 | 4ms | 2964kb | Incorect | 0 |
5 | 4ms | 3004kb | Incorect | 0 |
6 | 4ms | 3132kb | Incorect | 0 |
7 | 4ms | 2900kb | Incorect | 0 |
8 | 4ms | 2948kb | Incorect | 0 |
9 | 4ms | 2916kb | Incorect | 0 |
10 | 4ms | 3152kb | Incorect | 0 |
11 | 4ms | 2928kb | Incorect | 0 |
12 | 4ms | 3148kb | Incorect | 0 |
13 | 4ms | 3180kb | Incorect | 0 |
14 | 4ms | 3088kb | Incorect | 0 |
15 | 4ms | 2964kb | Incorect | 0 |
16 | 4ms | 3032kb | Incorect | 0 |
17 | 8ms | 3248kb | Incorect | 0 |
18 | 8ms | 3168kb | Incorect | 0 |
19 | 8ms | 3232kb | Incorect | 0 |
20 | 8ms | 3216kb | Incorect | 0 |
Punctaj total | 0 |