Pagini recente » Borderou de evaluare (job #346847) | Borderou de evaluare (job #1925901) | Borderou de evaluare (job #3282104) | Borderou de evaluare (job #3039010) | Borderou de evaluare (job #2440465)
Borderou de evaluare (job #2440465)
Raport evaluator
Compilare:
main.cpp: In function 'void caz1()':
main.cpp:32:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i + 1 < tip[k].size() ; i += 2){
~~~~~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:93:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < tip[3].size() ; i += 3){
~~^~~~~~~~~~~~~~~
main.cpp:95:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i + 1 < tip[3].size()) sol[tip[3][i + 1]] = s[1][tip[3][i + 1]];
~~~~~~^~~~~~~~~~~~~~~
main.cpp:96:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i + 2 < tip[3].size()) sol[tip[3][i + 2]] = s[2][tip[3][i + 2]];
~~~~~~^~~~~~~~~~~~~~~
main.cpp: In function 'void debug()':
main.cpp:22:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", aux + 1);
^
main.cpp: In function 'int main()':
main.cpp:73:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cstring.in", "r", stdin);
^
main.cpp:74:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cstring.out", "w", stdout);
^
main.cpp:76:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &L);
^
main.cpp:79:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s[i] + 1);
^
| 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 | 7ms | 905kb | OK! | 10 |
| 7 | 26ms | 3260kb | OK! | 10 |
| 8 | 48ms | 6270kb | OK! | 10 |
| 9 | 64ms | 8347kb | OK! | 10 |
| 10 | 68ms | 8257kb | OK! | 10 |
| Punctaj total | 100 |