Pagini recente » Borderou de evaluare (job #581205) | Borderou de evaluare (job #2638720) | Borderou de evaluare (job #2556258) | Borderou de evaluare (job #2768892) | Borderou de evaluare (job #1634107)
Borderou de evaluare (job #1634107)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=]
while(scanf("%s",&s)!=EOF){
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in","r",stdin);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out","w",stdout);
^
user.cpp:16:24: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int nr=0,a,maxx=-1,p,i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 324kb | Corect | 10 |
2 | 0ms | 312kb | Corect | 10 |
3 | 0ms | 272kb | Corect | 10 |
4 | 0ms | 276kb | Corect | 10 |
5 | 0ms | 596kb | Corect | 10 |
6 | 4ms | 584kb | Corect | 10 |
7 | 0ms | 276kb | Corect | 10 |
8 | 8ms | 860kb | Corect | 10 |
9 | 0ms | 304kb | Corect | 10 |
10 | 0ms | 312kb | Corect | 10 |
Punctaj total | 100 |