Pagini recente » Cod sursa (job #39353) | Cod sursa (job #970525) | Cod sursa (job #1166449) | Cod sursa (job #797401) | Borderou de evaluare (job #992692)
Borderou de evaluare (job #992692)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(char*, int&, int&)’:
user.cpp:28:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
if (p[l-1]=='x'){p[l-1]=NULL;a=atol(p);if (a==0)a=1;n1+=sn*a;}
^
user.cpp: In function ‘int main()’:
user.cpp:49:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[256]’ [-Wformat=]
fscanf(f,"%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 236kb | OK! | 10 |
| 2 | 0ms | 260kb | OK! | 10 |
| 3 | 0ms | 264kb | OK! | 10 |
| 4 | 0ms | 264kb | OK! | 10 |
| 5 | 0ms | 268kb | OK! | 10 |
| 6 | 0ms | 260kb | OK! | 10 |
| 7 | 0ms | 268kb | OK! | 10 |
| 8 | 0ms | 268kb | OK! | 10 |
| 9 | 0ms | 264kb | OK! | 10 |
| 10 | 0ms | 240kb | OK! | 10 |
| Punctaj total | 100 |