Pagini recente » Cod sursa (job #1751708) | Cod sursa (job #942467) | Borderou de evaluare (job #1938390) | Borderou de evaluare (job #2343054) | Borderou de evaluare (job #1766521)
Borderou de evaluare (job #1766521)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:138:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<=n && z==vc[j].val) vc[j].val=nr,j++;
^
user.cpp: In function ‘int sterge(int)’:
user.cpp:94:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:124:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
user.cpp:125:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out","w",stdout);
^
user.cpp:126:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&l,&u);
^
user.cpp:128:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&vc[i].val);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 4ms | 472kb | OK | 10 |
| 3 | 12ms | 900kb | OK | 10 |
| 4 | 52ms | 2824kb | OK | 10 |
| 5 | 72ms | 3136kb | OK | 10 |
| 6 | 224ms | 10424kb | OK | 10 |
| 7 | 592ms | 26324kb | OK | 10 |
| 8 | 768ms | 31508kb | OK | 10 |
| 9 | 1196ms | 39096kb | OK | 10 |
| 10 | 1248ms | 38140kb | OK | 10 |
| Punctaj total | 100 |