Pagini recente » Borderou de evaluare (job #1016554) | Borderou de evaluare (job #1761315)
Borderou de evaluare (job #1761315)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(unsigned 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(unsigned int)’:
user.cpp:22: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:32:41: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%u%u%d%d%d",&R1,&R2,&M1,&M2,&mod);
^
user.cpp:32:41: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:32:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:32:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:32:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:28: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:29: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:31: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:32:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u%d%d%d",&R1,&R2,&M1,&M2,&mod);
^
user.cpp:38: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 | 12ms | 8088kb | Incorect | 0 |
2 | 12ms | 8104kb | Incorect | 0 |
3 | 52ms | 8104kb | Incorect | 0 |
4 | 56ms | Depăşit | Memory limit exceeded. | 0 |
5 | 176ms | 8140kb | Incorect | 0 |
6 | 56ms | Depăşit | Memory limit exceeded. | 0 |
7 | 636ms | 8088kb | Incorect | 0 |
8 | 52ms | Depăşit | Memory limit exceeded. | 0 |
9 | 52ms | Depăşit | Memory limit exceeded. | 0 |
10 | 12ms | 8088kb | OK | 10 |
Punctaj total | 10 |