Pagini recente » Borderou de evaluare (job #2616354) | Cod sursa (job #1419952) | Borderou de evaluare (job #441106) | Borderou de evaluare (job #1837730) | Borderou de evaluare (job #1468525)
Borderou de evaluare (job #1468525)
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:77:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
}
^
user.cpp: In function ‘void write()’:
user.cpp:83:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:84:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
p = strtok(s, " ");
^
/tmp/ccZIESei.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 | 812kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 840kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 820kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 24ms | 1500kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 48ms | 2144kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 48ms | 2148kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 48ms | 2140kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 48ms | 2140kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 48ms | 2140kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 48ms | 2164kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |