Pagini recente » Cod sursa (job #205271) | Borderou de evaluare (job #1933081) | Borderou de evaluare (job #1983888) | Borderou de evaluare (job #966318) | Borderou de evaluare (job #1518850)
Borderou de evaluare (job #1518850)
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:15: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long long n,i,k,p,c1,c2,l,s=0,p4,x;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 252kb | OK | 10 | 0 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 8ms | 324kb | OK | 10 |
| 5 | 72ms | 576kb | OK | 10 |
| 6 | 352ms | 1468kb | OK | 10 |
| 7 | Depăşit | 5508kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 10376kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 10376kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 10376kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |