Pagini recente » Borderou de evaluare (job #49492) | Borderou de evaluare (job #2189602) | Borderou de evaluare (job #2295117) | Borderou de evaluare (job #349973) | Borderou de evaluare (job #1764616)
Borderou de evaluare (job #1764616)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(unsigned int)’:
user.cpp:14:31: 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(unsigned int)’:
user.cpp:22:33: 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:42: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%u%u%d%d%d",&R2,&R1,&M1,&M2,&mod);
^
user.cpp:35:42: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:35:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:35:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:35:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:32:33: 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:33:35: 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:22: 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:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u%d%d%d",&R2,&R1,&M1,&M2,&mod);
^
user.cpp:37:21: 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 | 1736kb | OK | 10 |
2 | 0ms | 1748kb | OK | 10 |
3 | 40ms | 1812kb | OK | 10 |
4 | 100ms | 1860kb | OK | 10 |
5 | 192ms | 1884kb | OK | 10 |
6 | 444ms | 1884kb | OK | 10 |
7 | 660ms | 1892kb | OK | 10 |
8 | 860ms | 1884kb | OK | 10 |
9 | 876ms | 1888kb | OK | 10 |
10 | 0ms | 1732kb | OK | 10 |
Punctaj total | 100 |