Pagini recente » Borderou de evaluare (job #1081526) | Borderou de evaluare (job #3176864) | Borderou de evaluare (job #3178710) | Borderou de evaluare (job #672182) | Borderou de evaluare (job #1635347)
Borderou de evaluare (job #1635347)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,n,m,tot=0,a,b,w;
^
user.cpp:10:13: warning: unused variable ‘n’ [-Wunused-variable]
int i,j,n,m,tot=0,a,b,w;
^
user.cpp:10:15: warning: unused variable ‘m’ [-Wunused-variable]
int i,j,n,m,tot=0,a,b,w;
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&v[27]);
^
user.cpp:12:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<26;i++) scanf("%d ",&v[i]);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&v[26]);
^
user.cpp:14:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1000001,stdin);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&w);
^
user.cpp:25:29: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(tot+a<=w-3&&tot+a+b>w)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 0 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 300kb | OK | 10 |
6 | 0ms | 468kb | OK | 10 |
7 | 4ms | 1240kb | OK | 10 |
8 | 12ms | 1240kb | OK | 10 |
9 | 4ms | 1244kb | OK | 10 |
10 | 4ms | 1244kb | OK | 10 |
Punctaj total | 0 |