Pagini recente » Borderou de evaluare (job #3165963) | Borderou de evaluare (job #3255340) | Cod sursa (job #2264246) | Borderou de evaluare (job #132395) | Borderou de evaluare (job #1468526)
Borderou de evaluare (job #1468526)
Raport evaluator
Compilare:
user.cpp: In function ‘int cmp(char*, char*)’:
user.cpp:18:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (strlen(b) != n)
^
user.cpp: In function ‘int In_hash(int, char*)’:
user.cpp:41:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp: In function ‘void read()’:
user.cpp:51:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("criptare2.out", "w", stdout);
^
user.cpp:52:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:53:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:54:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
p = strtok(s, " ");
^
user.cpp:79:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
void write()
^
user.cpp: In function ‘void write()’:
user.cpp:85:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
p = strtok(s, " ");
^
user.cpp:86:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
while (p)
^
/tmp/ccSNOCIS.o: In function `write()':
user.cpp:(.text+0x1ab): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 828kb | OK | 10 |
| 2 | 0ms | 836kb | OK | 10 |
| 3 | 0ms | 840kb | OK | 10 |
| 4 | 48ms | 1516kb | OK | 10 |
| 5 | 100ms | 2160kb | OK | 10 |
| 6 | 100ms | 2160kb | OK | 10 |
| 7 | 100ms | 2160kb | OK | 10 |
| 8 | 104ms | 2160kb | OK | 10 |
| 9 | 100ms | 2156kb | OK | 10 |
| 10 | 100ms | 2164kb | OK | 10 |
| Punctaj total | 100 |