Pagini recente » Borderou de evaluare (job #2687678) | Monitorul de evaluare | Borderou de evaluare (job #3119529) | Borderou de evaluare (job #675123) | Borderou de evaluare (job #1318418)
Borderou de evaluare (job #1318418)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[256]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:22:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<=strlen(s);++i){
^
user.cpp:11:37: 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:12:39: 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:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK! | 10 |
| 2 | 0ms | 280kb | OK! | 10 |
| 3 | 0ms | 284kb | OK! | 10 |
| 4 | 0ms | 284kb | OK! | 10 |
| 5 | 0ms | 288kb | OK! | 10 |
| 6 | 0ms | 288kb | OK! | 10 |
| 7 | 0ms | 284kb | OK! | 10 |
| 8 | 0ms | 288kb | OK! | 10 |
| 9 | 0ms | 288kb | OK! | 10 |
| 10 | 0ms | 252kb | OK! | 10 |
| Punctaj total | 100 |