Pagini recente » Borderou de evaluare (job #1999962) | Borderou de evaluare (job #1420901) | Borderou de evaluare (job #3151081) | Borderou de evaluare (job #2090941) | Borderou de evaluare (job #2302294)
Borderou de evaluare (job #2302294)
Raport evaluator
Compilare:
main.cpp: In function 'long long int formapoloneza()':
main.cpp:49:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < s.length() ; i ++)
~~^~~~~~~~~~~~
main.cpp:55:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < s.length() && isdigit(s[i]))
~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:103:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n" , formapoloneza());
^
main.cpp:98:9: warning: unused variable 'i' [-Wunused-variable]
int i;
^
main.cpp:96:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in" , "r" , stdin);
^
main.cpp:97:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out" , "w" , stdout);
^
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 | 3ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 11ms | 393kb | OK | 10 |
10 | 11ms | 393kb | OK | 10 |
Punctaj total | 100 |