Pagini recente » Borderou de evaluare (job #1546680) | Borderou de evaluare (job #2039539) | Borderou de evaluare (job #359146) | Borderou de evaluare (job #2073069) | Borderou de evaluare (job #2351909)
Borderou de evaluare (job #2351909)
Raport evaluator
Compilare:
main.cpp: In function 'Expresie solve()':
main.cpp:18:25: warning: NULL used in arithmetic [-Wpointer-arith]
while( *p!='=' && *p!=NULL )
^~~~
main.cpp: In function 'int main()':
main.cpp:66:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[255]' [-Wformat=]
scanf( "%s\n", &s );
^
main.cpp:57:39: 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 );
^
main.cpp:58:41: 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 );
^
main.cpp:62:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d\n", &n );
^
main.cpp:66:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf( "%s\n", &s );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 2ms | 131kb | OK! | 10 |
6 | 2ms | 131kb | OK! | 10 |
7 | 2ms | 131kb | OK! | 10 |
8 | 2ms | 131kb | OK! | 10 |
9 | 2ms | 131kb | OK! | 10 |
10 | 2ms | 131kb | OK! | 10 |
Punctaj total | 100 |