Pagini recente » Cod sursa (job #891404) | Cod sursa (job #3001673) | Borderou de evaluare (job #2007464) | Borderou de evaluare (job #2017977) | Borderou de evaluare (job #1761310)
Borderou de evaluare (job #1761310)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(long long int)’:
user.cpp:15:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[x%MOD].size();i++)
^
user.cpp: In function ‘bool Search_In_Hash(long long int)’:
user.cpp:25:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[val%MOD].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:35:45: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%u%u%d%d%d",&R[1],&R[2],&M1,&M2,&mod);
^
user.cpp:35:45: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:35:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:35:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:35:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.in","r",stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.out","w",stdout);
^
user.cpp:34:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&M,&N);
^
user.cpp:35:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u%d%d%d",&R[1],&R[2],&M1,&M2,&mod);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&aux);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1744kb | OK | 10 |
2 | 0ms | 1776kb | OK | 10 |
3 | 8ms | 2516kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 8ms | 2516kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 2516kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 8ms | 2520kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 8ms | 2512kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 8ms | 2516kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 2516kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 1744kb | OK | 10 |
Punctaj total | 30 |