Pagini recente » Monitorul de evaluare | Cod sursa (job #102601) | Cod sursa (job #992913) | Cod sursa (job #974937) | Borderou de evaluare (job #1518793)
Borderou de evaluare (job #1518793)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nr!=0) if (s[j]=='x') sx+=nr;else suma+=nr;
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ecuatii2.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ecuatii2.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("%d",&n);
^
user.cpp:13:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%s",s);lg=strlen(s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 252kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |