Pagini recente » Borderou de evaluare (job #2843484) | Borderou de evaluare (job #479084) | Borderou de evaluare (job #2642506) | Borderou de evaluare (job #969769) | Borderou de evaluare (job #1238825)
Borderou de evaluare (job #1238825)
Raport evaluator
Compilare:
user.cpp: In member function ‘void huge::read()’:
user.cpp:25:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp: In member function ‘int& huge::operator%(int)’:
user.cpp:38:13: warning: reference to local variable ‘r’ returned [-Wreturn-local-addr]
int r=0;
^
user.cpp: In function ‘int main()’:
user.cpp:73:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:74:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:80:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
^
user.cpp: In member function ‘void huge::read()’:
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
user.cpp: In function ‘int main()’:
user.cpp:83:5: warning: ‘r’ is used uninitialized in this function [-Wuninitialized]
if(r){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4172kb | Incorect | 0 |
2 | 4ms | 4168kb | Incorect | 0 |
3 | 4ms | 4168kb | OK | 10 |
4 | 4ms | 4184kb | OK | 10 |
5 | 8ms | 4204kb | Incorect | 0 |
6 | 20ms | 4272kb | Incorect | 0 |
7 | 48ms | 4432kb | Incorect | 0 |
8 | 120ms | 4824kb | Incorect | 0 |
9 | 156ms | 5052kb | Incorect | 0 |
10 | 176ms | 5148kb | Incorect | 0 |
Punctaj total | 20 |