Pagini recente » Borderou de evaluare (job #1797062) | Monitorul de evaluare | Cod sursa (job #3248055) | Monitorul de evaluare | Borderou de evaluare (job #2615678)
Borderou de evaluare (job #2615678)
Raport evaluator
Compilare:
main.cpp: In function 'void aparitii(int, int)':
main.cpp:30:16: warning: unused variable 'nr' [-Wunused-variable]
int l,k,ll,nr=0;
^~
main.cpp: In function 'int main()':
main.cpp:59:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(mat[i]+1)<=n)
~~~~~~~~~~~~~~~~^~~
main.cpp:38:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("strigat.in", "r", stdin);
^
main.cpp:39:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strigat.out", "w", stdout);
^
main.cpp:41:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
main.cpp:43:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", mat[i]+1);
^
main.cpp:44:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &cost[i]);
^
main.cpp:40:34: warning: 'jj' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,m,i,j,k,maxx=0,ll,l,ii,jj;
^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Lungimea strigatului gresita! | 4 |
| 2 | 2ms | 131kb | OK! | 10 |
| 3 | 2ms | 131kb | Grad de spaima gresit! | 0 |
| 4 | 3ms | 262kb | OK! | 10 |
| 5 | 3ms | 262kb | OK! | 10 |
| 6 | 4ms | 262kb | OK! | 10 |
| 7 | 12ms | 262kb | Grad de spaima gresit! | 0 |
| 8 | 21ms | 262kb | OK! | 10 |
| 9 | 41ms | 262kb | Grad de spaima gresit! | 0 |
| 10 | 63ms | 262kb | Grad de spaima gresit! | 0 |
| Punctaj total | 54 |