Pagini recente » Borderou de evaluare (job #3211296) | Borderou de evaluare (job #54578) | Borderou de evaluare (job #1787798) | Borderou de evaluare (job #2021246) | Borderou de evaluare (job #1307753)
Borderou de evaluare (job #1307753)
Raport evaluator
Compilare:
user.cpp: In function ‘void sdo(int, int, int)’:
user.cpp:16:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m[i]<x)
^
user.cpp:21:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m[i]>x)
^
user.cpp:26:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m[i]==x)
^
user.cpp: In function ‘int main()’:
user.cpp:51:27: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%u ", &m[i]);
^
user.cpp:53:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d", m[k]);
^
user.cpp:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.in", "r", stdin);
^
user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.out", "w", stdout);
^
user.cpp:47: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:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u ", &m[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 32ms | 976kb | Incorect | 0 | 0 |
3 | 20ms | 796kb | Incorect | 0 | 0 |
4 | 24ms | 936kb | Incorect | 0 | 0 |
5 | 52ms | 1240kb | Incorect | 0 | 0 |
6 | 96ms | 1404kb | Wall time limit exceeded. | 0 | 0 |
7 | 96ms | 1404kb | Wall time limit exceeded. | 0 | 0 |
8 | 96ms | 1400kb | Wall time limit exceeded. | 0 | 0 |
9 | 96ms | 1404kb | Wall time limit exceeded. | 0 |
10 | 92ms | 1400kb | Wall time limit exceeded. | 0 |
Punctaj total | 10 |