Pagini recente » Borderou de evaluare (job #1090267) | Borderou de evaluare (job #2513127) | Borderou de evaluare (job #355034) | Borderou de evaluare (job #2162880) | Borderou de evaluare (job #1949835)
Borderou de evaluare (job #1949835)
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/ccvAAFP6.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 | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 8ms | 300kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 36ms | 304kb | OK | 10 |
8 | 60ms | 304kb | OK | 10 |
9 | 0ms | 296kb | OK | 10 |
10 | 0ms | 296kb | OK | 10 |
Punctaj total | 100 |