Pagini recente » Borderou de evaluare (job #54300) | Borderou de evaluare (job #2239007) | Borderou de evaluare (job #1574904) | Borderou de evaluare (job #1733134) | Borderou de evaluare (job #1681279)
Borderou de evaluare (job #1681279)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mapal.in", "r", stdin);
^
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mapal.out", "w", stdout);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:36:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S[i]);
^
user.cpp:39:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int numLines; scanf("%d", &numLines);
^
user.cpp:42:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int line; scanf("%d", &line); -- line;
^
user.cpp:53:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int numColumns; scanf("%d", &numColumns);
^
user.cpp:56:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int column; scanf("%d", &column); -- column;
^
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:36:19:
/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/cc4sB1ax.o: In function `main':
user.cpp:(.text.startup+0x7d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 128ms | 16368kb | OK | 10 |
3 | 44ms | Depăşit | Memory limit exceeded. | 0 |
4 | 4ms | 2892kb | OK | 10 |
5 | 48ms | 11168kb | OK | 10 |
6 | 44ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 920kb | OK | 10 |
8 | 40ms | Depăşit | Memory limit exceeded. | 0 |
9 | 44ms | Depăşit | Memory limit exceeded. | 0 |
10 | 44ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |