Pagini recente » Cod sursa (job #1803317) | Cod sursa (job #3001135) | Cod sursa (job #2504802) | Cod sursa (job #2626886) | Borderou de evaluare (job #1382503)
Borderou de evaluare (job #1382503)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Hash::isIn(long int, long int)’:
user.cpp:24:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<C[dir].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("twosets.in","r",stdin);
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("twosets.out","w",stdout);
^
user.cpp:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&t);
^
user.cpp:48:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
memset(s,0,sizeof(s)); gets(s+1); n=0;
^
user.cpp:64:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
memset(s,0,sizeof(s)); gets(s+1); n=0; good=true;
^
/tmp/cc0pl1SE.o: In function `main':
user.cpp:(.text.startup+0xbf): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 160ms | 4236kb | OK | 10 | 10 |
2 | 164ms | 4268kb | OK | 10 | 10 |
3 | 180ms | 4648kb | OK | 10 | 10 |
4 | 188ms | 4644kb | OK | 10 | 10 |
5 | 112ms | 5200kb | OK | 10 | 20 |
6 | 96ms | 5268kb | OK | 10 |
7 | 108ms | 5780kb | OK | 10 | 20 |
8 | 84ms | 5252kb | OK | 10 |
9 | 80ms | 5264kb | OK | 10 | 20 |
10 | 116ms | 5952kb | OK | 10 |
Punctaj total | 100 |