Borderou de evaluare (job #1518910)

Utilizator ipus1Stefan Enescu ipus1 Data 6 noiembrie 2015 16:01:18
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:14: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000001]’ [-Wformat=] scanf("%s",&v); ^ user.cpp:14:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=] while(scanf("%s",&v2)!=EOF) ^ user.cpp:8:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] {freopen ("abc2.in","r",stdin); ^ user.cpp:9:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("abc2.out","w",stdout); ^ user.cpp:11:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&v); ^ user.cpp:10:9: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] int n,i,k,p,s=0,p4,x1,x2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms288kbOK100
20ms296kbOK10
30ms652kbOK10
44ms1048kbOK10
560ms31508kbIncorect0
6116ms22520kbIncorect0
7512ms44200kbIncorect0
8Depăşit46992kbTime limit exceeded.0
9Depăşit48576kbTime limit exceeded.0
10Depăşit49068kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?