Pagini recente » Borderou de evaluare (job #560712) | Borderou de evaluare (job #2886404) | Borderou de evaluare (job #1138247) | Borderou de evaluare (job #1516523) | Borderou de evaluare (job #1635769)
Borderou de evaluare (job #1635769)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:13: warning: unused variable ‘a’ [-Wunused-variable]
int n,i,a,nr=1,c,ap,t,j,x,k1,j1;
^
user.cpp:8:31: warning: unused variable ‘k1’ [-Wunused-variable]
int n,i,a,nr=1,c,ap,t,j,x,k1,j1;
^
user.cpp:8:34: warning: unused variable ‘j1’ [-Wunused-variable]
int n,i,a,nr=1,c,ap,t,j,x,k1,j1;
^
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:41:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 504ms | 276kb | OK | 10 |
6 | 668ms | 268kb | OK | 10 |
7 | 444ms | 272kb | OK | 10 |
8 | 656ms | 276kb | OK | 10 |
9 | 5572ms | 272kb | OK | 10 |
10 | 3872ms | 272kb | OK | 10 |
Punctaj total | 100 |