Pagini recente » Borderou de evaluare (job #1224850) | Borderou de evaluare (job #2626588) | Borderou de evaluare (job #1357439) | Borderou de evaluare (job #1152566) | Borderou de evaluare (job #1751127)
Borderou de evaluare (job #1751127)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poveste.in", "r", stdin);
^
user.cpp:19:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poveste.out", "w", stdout);
^
user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:38:32: 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:41:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:41:27:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccoJVE9h.o: In function `main':
user.cpp:(.text.startup+0x119): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 688kb | Incorect | 0 | 0 |
2 | 0ms | 640kb | Incorect | 0 |
3 | 168ms | 1920kb | Incorect | 0 | 0 |
4 | 172ms | 1672kb | Incorect | 0 |
5 | 796ms | 2904kb | Incorect | 0 | 0 |
6 | 444ms | 2896kb | Incorect | 0 |
7 | Depăşit | 3352kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 3844kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 5312kb | Time limit exceeded. | 0 |
10 | Depăşit | 5316kb | Time limit exceeded. | 0 |
Punctaj total | 0 |