Pagini recente » Borderou de evaluare (job #123578) | Borderou de evaluare (job #2536083) | Borderou de evaluare (job #52909) | Borderou de evaluare (job #992974) | Borderou de evaluare (job #1238827)
Borderou de evaluare (job #1238827)
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:37:13: warning: reference to local variable ‘r’ returned [-Wreturn-local-addr]
int r=0;
^
user.cpp: In function ‘int main()’:
user.cpp:72: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:73: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:79: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:82:5: warning: ‘r’ is used uninitialized in this function [-Wuninitialized]
if(r){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4164kb | Incorect | 0 |
2 | 4ms | 4164kb | Incorect | 0 |
3 | 4ms | 4164kb | OK | 10 |
4 | 4ms | 4184kb | OK | 10 |
5 | 8ms | 4204kb | Incorect | 0 |
6 | 20ms | 4276kb | Incorect | 0 |
7 | 52ms | 4428kb | Incorect | 0 |
8 | 116ms | 4820kb | Incorect | 0 |
9 | 160ms | 5052kb | Incorect | 0 |
10 | 172ms | 5144kb | Incorect | 0 |
Punctaj total | 20 |